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
And an exception notification is manually sent such as through a background worker with:
rescue => e
ExceptionNotifier.notify_exception(e)
end
Expected behavior
The ignore_notifier block should be called and respected.
Actual behavior
The ignore_notifier block is not called nor respected. This is likely because the ignore block is only set via Rack, so any non-Rack usages of ExceptionNotifier will not retain the ignore settings.
System configuration
Rails version:
Rails v6+
Ruby version:
Ruby 2.7
The text was updated successfully, but these errors were encountered:
Steps to reproduce
Given: ExceptionNotifier is configured with:
And an exception notification is manually sent such as through a background worker with:
Expected behavior
The
ignore_notifier
block should be called and respected.Actual behavior
The
ignore_notifier
block is not called nor respected. This is likely because the ignore block is only set via Rack, so any non-Rack usages of ExceptionNotifier will not retain the ignore settings.System configuration
Rails version:
Rails v6+
Ruby version:
Ruby 2.7
The text was updated successfully, but these errors were encountered: