Fixes an issue where register_sentry breaks when logging jobs with

unimportable function.
main
Selwin Ong 12 years ago
parent f9897ea920
commit 0198916856

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

Loading…
Cancel
Save