# What this PR does This is a follow up to https://github.com/grafana/oncall/pull/3677. It appears that when a task uses the [`autoretry_for` kwarg](https://docs.celeryq.dev/en/stable/userguide/tasks.html#automatic-retry-for-known-exceptions) in the task decorator, it doesn't log the exception in `on_failure` as would be expected. Now when retrying, we log out a message + any exception/stack trace information. ## Checklist - [x] Unit, integration, and e2e (if applicable) tests updated - [x] Documentation added (or `pr:no public docs` PR label added if not required) - [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not required) |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| test_apply_jinja_template.py | ||
| test_cache.py | ||
| test_create_engine_url.py | ||
| test_custom_fields.py | ||
| test_database.py | ||
| test_l10n.py | ||
| test_markup.py | ||
| test_ordered_model.py | ||
| test_recaptcha.py | ||
| test_regex_replace.py | ||
| test_task_queue_assignment.py | ||
| test_timezones.py | ||
| test_urlize.py | ||
| test_urlvalidator_without_tld.py | ||
| test_viewset_actions.py | ||