This project is archived and is in readonly mode.

#4505 ✓resolved
Justin George

Ensure notifications are sent even in the case of an error

Reported by Justin George | April 30th, 2010 @ 12:10 AM | in 3.0.2

Notifications currently will not be sent in the case of an error in the notified block.

This may or may not be desired, but I have use cases (transaction tracing) that would be better served by notification regardless of errors.

For example:

ActiveRecord::Base.transaction do
  raise "Error!"
end

Should state that there was a transaction, and that it took (some small amount of time).

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Attachments

Referenced by

Pages