aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2020-02-29 09:53:00 -0800
committerGravatar MarkKoz <[email protected]>2020-03-22 15:54:42 -0700
commit2225bfe97adf9547fc5817878778dcb7c62b2dd4 (patch)
tree55620aa28a000e182970201cddc6d1799a6d0e1f
parentHelpChannels: cancel existing task in the dormant command (diff)
Scheduler: fix incorrect task id in error log
-rw-r--r--bot/utils/scheduling.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/utils/scheduling.py b/bot/utils/scheduling.py
index e9a9e6c2d..f8b9d2d48 100644
--- a/bot/utils/scheduling.py
+++ b/bot/utils/scheduling.py
@@ -105,6 +105,6 @@ class Scheduler(metaclass=CogABCMeta):
# Log the exception if one exists.
if exception:
log.error(
- f"{self.cog_name}: error in task #{task_id} {id(scheduled_task)}!",
+ f"{self.cog_name}: error in task #{task_id} {id(done_task)}!",
exc_info=exception
)