mirror of https://github.com/rq/rq.git
Fixes an issue where register_sentry breaks when logging jobs with
unimportable function.
This commit is contained in:
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…
Reference in New Issue