import celery class MyTask(celery.Task): # 任务失败时执行def on_failure(self, exc, task_id, args, kwargs, einfo): print('{0!r} failed: {1!r}'.
確定! 回上一頁