According to http://rubyonjets.com/docs/jets-turbines the on_exception hook isn’t triggered in the local environment.
I’m curious as to the reasoning behind this?
IMO it would be preferable to have identical behaviour of on_exception locally to avoid breaking principle of least surprise. I would rather disable exception handling services 12factor style via ENV vars. E.g for Rollbar:
Rollbar.configure do |config| config.enabled = ENV["ROLLBAR_ACCESS_TOKEN"].present? end