thunderbird_accounts.celery.exceptions

Exceptions

TaskFailed(reason, other, *args, **kwargs)

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: Exception

Raised 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.

__init__(reason: str, other: dict | None, *args, **kwargs)[source]