Skip to content
This repository was archived by the owner on May 25, 2023. It is now read-only.

Commit c17692b

Browse files
committed
Scheduler log can display item details with empty traceback
1 parent fa5f804 commit c17692b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3473,7 +3473,7 @@ def admin_scheduled_tasks_run_result():
34733473
DIV(sr.run_result, _class='col-md-9'),
34743474
_class='row'),
34753475
DIV(DIV(LABEL(T('Traceback')), _class='col-md-2'),
3476-
DIV(XML(sr.traceback.replace("\n", "<br>")), _class='col-md-9'),
3476+
DIV(XML(sr.traceback.replace("\n", "<br>") if sr.traceback else ''), _class='col-md-9'),
34773477
_class='row'),
34783478
)
34793479

0 commit comments

Comments
 (0)