Skip to content

Commit

Permalink
Don't log rescued responses as its log noise
Browse files Browse the repository at this point in the history
  • Loading branch information
kentsanggds committed Feb 7, 2024
1 parent f19ce5a commit 43eedf4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@

config.action_mailer.perform_caching = false

# don't log rescued responses as it's creating unnecessary noise in the logs
config.action_dispatch.log_rescued_responses = false

# Ignore bad email addresses and do not raise email delivery errors.
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
# config.action_mailer.raise_delivery_errors = false
Expand Down

0 comments on commit 43eedf4

Please sign in to comment.