Skip to content

Instantly share code, notes, and snippets.

@lbvf50mobile
Created November 8, 2016 14:37
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 lbvf50mobile/600339ff6b45aa35d1803d4c0bb69d44 to your computer and use it in GitHub Desktop.
Save lbvf50mobile/600339ff6b45aa35d1803d4c0bb69d44 to your computer and use it in GitHub Desktop.
28: def process_action(*args)
29: super
30: rescue Exception => exception
31: request.env['action_dispatch.show_detailed_exceptions'] ||= show_detailed_exceptions?
=> 32: rescue_with_handler(exception) || raise(exception)
33: end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment