thunderbird_accounts.celery.exceptions
Exceptions
|
Raised when a needs to fail intentionally (an unrecoverable error for example.) Celery only seems to treat exceptions as failed tasks. |
- exception thunderbird_accounts.celery.exceptions.TaskFailed(reason: str, other: dict | None, *args, **kwargs)[source]
Bases:
ExceptionRaised when a needs to fail intentionally (an unrecoverable error for example.) Celery only seems to treat exceptions as failed tasks. These exceptions are ignored by Sentry in settings.
- Reason str:
The reason why the task failed, should be short and sweet.
- Other dict|None:
Any other data you want to stuff in there.