Skip to content

Instantly share code, notes, and snippets.

@hosamshahin
Created July 28, 2020 22:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hosamshahin/fd3f295c8dba18d38b906f2445a7f7ff to your computer and use it in GitHub Desktop.
Save hosamshahin/fd3f295c8dba18d38b906f2445a7f7ff to your computer and use it in GitHub Desktop.
App 2091 output: Error during failsafe response: undefined local variable or method `env' for #<ExceptionHandler::ExceptionController:0x000055a292149300>
App 2091 output: Did you mean? end
App 2091 output: END
App 2091 output: /home/ubuntu/OpenDSA-LTI/app/controllers/exception_handler/exception_controller.rb:30:in `status'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/callbacks.rb:428:in `block in make_lambda'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/callbacks.rb:200:in `block (2 levels) in halting'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/actionpack-6.0.3.1/lib/abstract_controller/callbacks.rb:34:in `block (2 levels) in <module:Callbacks>'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/callbacks.rb:201:in `block in halting'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/callbacks.rb:513:in `block in invoke_before'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/callbacks.rb:513:in `each'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/callbacks.rb:513:in `invoke_before'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/callbacks.rb:134:in `run_callbacks'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/actionpack-6.0.3.1/lib/abstract_controller/callbacks.rb:41:in `process_action'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/actionpack-6.0.3.1/lib/action_controller/metal/rescue.rb:22:in `process_action'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/actionpack-6.0.3.1/lib/action_controller/metal/instrumentation.rb:33:in `block in process_action'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/notifications.rb:180:in `block in instrument'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/notifications.rb:180:in `instrument'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/actionpack-6.0.3.1/lib/action_controller/metal/instrumentation.rb:32:in `process_action'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/actionpack-6.0.3.1/lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/activerecord-6.0.3.1/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/actionpack-6.0.3.1/lib/abstract_controller/base.rb:136:in `process'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/actionview-6.0.3.1/lib/action_view/rendering.rb:39:in `process'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/actionpack-6.0.3.1/lib/action_controller/metal.rb:190:in `dispatch'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/actionpack-6.0.3.1/lib/action_controller/metal.rb:238:in `block in action'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/exception_handler-0.3.45/lib/exception_handler.rb:20:in `block (2 levels) in <class:Exceptions>'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/actionpack-6.0.3.1/lib/action_dispatch/middleware/show_exceptions.rb:50:in `render_exception'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/actionpack-6.0.3.1/lib/action_dispatch/middleware/show_exceptions.rb:36:in `rescue in call'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/actionpack-6.0.3.1/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.1/lib/rails/rack/logger.rb:37:in `call_app'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.1/lib/rails/rack/logger.rb:26:in `block in call'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/tagged_logging.rb:80:in `block in tagged'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/tagged_logging.rb:28:in `tagged'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/tagged_logging.rb:80:in `tagged'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.1/lib/rails/rack/logger.rb:26:in `call'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/actionpack-6.0.3.1/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/actionpack-6.0.3.1/lib/action_dispatch/middleware/request_id.rb:27:in `call'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/rack-2.2.2/lib/rack/method_override.rb:24:in `call'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/rails_same_site_cookie-0.1.8/lib/rails_same_site_cookie/middleware.rb:13:in `call'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/rack-2.2.2/lib/rack/runtime.rb:22:in `call'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.3.1/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/actionpack-6.0.3.1/lib/action_dispatch/middleware/executor.rb:14:in `call'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/actionpack-6.0.3.1/lib/action_dispatch/middleware/static.rb:126:in `call'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/rack-2.2.2/lib/rack/sendfile.rb:110:in `call'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/actionpack-6.0.3.1/lib/action_dispatch/middleware/host_authorization.rb:76:in `call'
App 2091 output: /home/ubuntu/OpenDSA-LTI/vendor/bundle/ruby/2.7.0/gems/railties-6.0.3.1/lib/rails/engine.rb:527:in `call'
App 2091 output: /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:107:in `process_request'
App 2091 output: /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:149:in `accept_and_process_next_request'
App 2091 output: /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:110:in `main_loop'
App 2091 output: /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:415:in `block (3 levels) in start_threads'
App 2091 output: /usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:113:in `block in create_thread_and_abort_on_exception'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment