Skip to content

Commit

Permalink
comment out sending emails when errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tyranja committed Nov 2, 2024
1 parent 4735c48 commit 6d4f17f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,13 @@
authentication: 'plain',
enable_starttls_auto: true }

config.middleware.use ExceptionNotification::Rack,
:ignore_crawlers => %w{Googlebot bingbot MJ12bot Seekport},
:email => {
:email_prefix => "[SPEAKERINNEN ERROR PRODUCTION] ",
:sender_address => %{"Team" <team@speakerinnen.org>},
:exception_recipients => %w{devops@speakerinnen.org}
}
# config.middleware.use ExceptionNotification::Rack,
# :ignore_crawlers => %w{Googlebot bingbot MJ12bot Seekport},
# :email => {
# :email_prefix => "[SPEAKERINNEN ERROR PRODUCTION] ",
# :sender_address => %{"Team" <team@speakerinnen.org>},
# :exception_recipients => %w{devops@speakerinnen.org}
# }

# Use default logging formatter so that PID and timestamp are not suppressed.
config.log_formatter = ::Logger::Formatter.new
Expand Down

0 comments on commit 6d4f17f

Please sign in to comment.