Skip to content

Commit

Permalink
Do not show traceback if job is not failed yet
Browse files Browse the repository at this point in the history
  • Loading branch information
eoranged committed Aug 23, 2016
1 parent d9adb7d commit 5b6a20b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rq_dashboard/web.py
Expand Up @@ -97,7 +97,7 @@ def serialize_job(job):
ended_at=serialize_date(job.ended_at),
origin=job.origin,
result=job._result,
exc_info=str(job.exc_info),
exc_info=str(job.exc_info) if job.exc_info else None,
description=job.description)


Expand Down

0 comments on commit 5b6a20b

Please sign in to comment.