@task
def celery_error(**kw):
    log.info('about to raise an exception from celery')
    raise RuntimeError('this is an exception from celery')
This task raises an exception from celery to test error logging and
dataset/ETHPy150Open mozilla/addons-server/src/olympia/zadmin/tasks.py/celery_error