if defined?(RuntimeerrorNotifier) && ENV["RUNTIMEERROR_EMAIL"].present?
# Get your secret email address from RuntimeError.net and
#1. Set it as environment variable RUNTIMEERROR_EMAIL (preferred method)
#2. OR, change the value (legacy method)
RuntimeerrorNotifier.for ENV["RUNTIMEERROR_EMAIL"]
RuntimeerrorNotifier::Notifier::IGNORED_EXCEPTIONS.push(*%w[
ActionController::RoutingError,
ActiveRecord::RecordNotFound
])
end
It was working all fine, but today the IGNORED_EXCEPTIONS were not ignored
and hence a lot of errors came in. I don't see a change in this gem though, so not sure what broke?
And they are ActionController::RoutingError because errors start with:
# (ActionController::RoutingError) "No route matches [GET]
Initializer was set as such:
It was working all fine, but today the IGNORED_EXCEPTIONS were not ignored and hence a lot of errors came in. I don't see a change in this gem though, so not sure what broke?
And they are
ActionController::RoutingError
because errors start with:Ideas?
/cc @allenlsy