Hey I am trying to list classes for Honeybadger to ignore. The following code is used to ignore certain classes of errors:
config/initializers/honeybadger.rb:
config.before_notify do |notice|
notice.halt! if config.honeybadger_error_exceptions.include?(notice.class)
end
application.rb:
config.honeybadger_error_exceptions = [
SomeModule::SomeCustomerError
]
however I get an uninitialized constant error (even when going into rails console). How can i make application.rb see that the class exists?
CodePudding user response:
Have you tried ignoring that class using the configuration file?