Skip to content

Commit 9af4683

Browse files
committed
Logger.exception needs a message
1 parent ea9c9c1 commit 9af4683

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_lightweight_queue/cron_scheduler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def run(self) -> None:
5858
# carries on running. Otherwise a single network error talking
5959
# to a backend can result in the cron scheduler dying until a
6060
# human notices that things aren't running.
61-
self.logger.exception()
61+
self.logger.exception("Error during tick")
6262

6363
# Sleep until the next second boundary. This corrects for skew
6464
# caused by the accumulation of tick() runtime.

0 commit comments

Comments
 (0)