Skip to content

Commit

Permalink
Merge pull request #377 from fablabbcn/sentry-config-change
Browse files Browse the repository at this point in the history
don't log 404s in sentry
  • Loading branch information
timcowlishaw authored Nov 20, 2024
2 parents 4c5f085 + 9825ed8 commit 927a5eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/sentry.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Sentry.init do |config|
config.dsn = ENV['RAVEN_DSN_URL']
config.breadcrumbs_logger = [:sentry_logger, :active_support_logger, :http_logger]
config.excluded_exceptions = ["RetryMQTTMessageJob::RetryMessageHandlerError"]
config.excluded_exceptions = ["RetryMQTTMessageJob::RetryMessageHandlerError", 'ActionController::RoutingError', 'ActiveRecord::RecordNotFound']
end

0 comments on commit 927a5eb

Please sign in to comment.