Skip to content

Commit

Permalink
Merge pull request #116 from eoranged/bugfix/none-string-traceback
Browse files Browse the repository at this point in the history
Do not show traceback if job is not failed yet
  • Loading branch information
ducu committed Oct 12, 2016
2 parents 2a54ad6 + 5b6a20b commit 966df6c
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 966df6c

Please sign in to comment.