Skip to content

Instantly share code, notes, and snippets.

View jessielw's full-sized avatar
🖥️
Coding

Jessie Wilson jessielw

🖥️
Coding
View GitHub Profile
@darklow
darklow / celery_tasks_error_handling.py
Last active October 1, 2025 05:52
Celery tasks error handling example
from celery import Task
from celery.task import task
from my_app.models import FailedTask
from django.db import models
@task(base=LogErrorsTask)
def some task():
return result
class LogErrorsTask(Task):