You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ExceptionNotification has been working OK with the email configuration, but I recently added the 'google chat' parameter to receive my error in the Google space chat. I tested it in console, and it worked ok, but when I tried it with the rails' app, no message was sent, yet the email functioned normally. Thank you for your assistance as well as this wonderful find!
Steps to reproduce
Set configuration
Site::Application.config.middleware.useExceptionNotification::Rack,ignore_exceptions: ['Mime::Type::InvalidMimeType'] + ExceptionNotifier.ignored_exceptions,# Don't send google chat notifications in test & development environmentsignore_notifier_if: {google_chat: ->(env,exception){Rails.env.development? || Rails.env.test?}},:email=>{:email_prefix=>"[EXCEPTION] ",:sender_address=>%{"app email" <[email protected]>},:exception_recipients=>%w{[email protected]}},:google_chat=>{webhook_url: Rails.application.credentials[:google_chat_webhook_url],app_name: Rails.env.titlecase},error_grouping: true
Expected behavior
Send email notification
Send google chat notification
Actual behavior
Send email notification
Note
Using the manual testing process in the rails console the application is sending both notification (email and google chat)
ExceptionNotification has been working OK with the email configuration, but I recently added the 'google chat' parameter to receive my error in the Google space chat. I tested it in console, and it worked ok, but when I tried it with the rails' app, no message was sent, yet the email functioned normally. Thank you for your assistance as well as this wonderful find!
Steps to reproduce
Set configuration
Expected behavior
Actual behavior
Note
Using the manual testing process in the
rails console
the application is sending both notification (email and google chat)System configuration
Rails version: 6.0.3.7
Ruby version: 2.7.1p83
Other configurations:
current gem version: "4.5.0"
The text was updated successfully, but these errors were encountered: