Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replaced environment name in email subject with root url #327

Merged
merged 2 commits into from Aug 8, 2022

Conversation

Ito-Eta
Copy link
Collaborator

@Ito-Eta Ito-Eta commented Aug 8, 2022

No description provided.

@Ito-Eta Ito-Eta requested a review from amcates August 8, 2022 13:38
@@ -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-#{Rails.root.to_s}-ERROR]"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this give you? I think the request was to have something like research-master-staging.musc.edu added instead of the ENV. I feel like this would give you the path /var/www/rails/research-master/releases/ABC123

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recent updates should give the actual hostname properly now.

@amcates amcates merged commit b2540cf into master Aug 8, 2022
@amcates amcates deleted the ie-exception_notification_email branch August 8, 2022 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants