mirror of
https://github.com/discourse/discourse.git
synced 2026-03-04 01:15:08 +08:00
When checking how many times an email job has been retried, we need to check that the `retry_count` attribute has been set. In a related error, the `UserEmail` retry wait handler assumed that the triggering exception would always have a `wrapped` attribute, which isn't necessarily the case if the exception was raised outside of the job execution code. |
||
|---|---|---|
| .. | ||
| discourse_event_spec.rb | ||
| suppress_user_email_errors_spec.rb | ||