Fixes an issue where register_sentry breaks when logging jobs with

unimportable function.
This commit is contained in:
Selwin Ong 2013-07-30 19:31:51 +07:00
parent f9897ea920
commit 0198916856
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ def register_sentry(client, worker):
exc_info=exc_info,
extra={
'job_id': job.id,
'func': job.func,
'func': job.func_name,
'args': job.args,
'kwargs': job.kwargs,
'description': job.description,