Skip to content

Commit

Permalink
Merge pull request #327 from sparc-request/ie-exception_notification_…
Browse files Browse the repository at this point in the history
…email

replaced environment name in email subject with root url
  • Loading branch information
amcates committed Aug 8, 2022
2 parents 9ff9e2c + 1d31d43 commit b2540cf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
email: {
sender_address: %{"Notifier" <no-reply@musc.edu>},
exception_recipients: ENV.fetch('EXCEPTION_NOTIFICATION_RECIPIENTS'),
email_prefix: "[RMID-#{Rails.env.upcase}-ERROR]"
email_prefix: "[RMID-#{Socket.gethostname}-ERROR]"
},
error_grouping: true,
error_grouping_period: 5.minutes # the time before an error is regarded as fixed
Expand Down
2 changes: 1 addition & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
email: {
sender_address: %{"Notifier" <no-reply@musc.edu>},
exception_recipients: ENV.fetch('EXCEPTION_NOTIFICATION_RECIPIENTS'),
email_prefix: "[RMID-#{Rails.env.upcase}-ERROR]"
email_prefix: "[RMID-#{Socket.gethostname}-ERROR]"
},
error_grouping: true,
error_grouping_period: 5.minutes # the time before an error is regarded as fixed
Expand Down
2 changes: 1 addition & 1 deletion config/environments/staging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
email: {
sender_address: %{"Notifier" <no-reply@musc.edu>},
exception_recipients: ENV.fetch('EXCEPTION_NOTIFICATION_RECIPIENTS'),
email_prefix: "[RMID-#{Rails.env.upcase}-ERROR]"
email_prefix: "[RMID-#{Socket.gethostname}-ERROR]"
},
error_grouping: true,
error_grouping_period: 5.minutes # the time before an error is regarded as fixed
Expand Down

0 comments on commit b2540cf

Please sign in to comment.