File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ async def task_manager(self):
132132 try :
133133 await self .fetch_track_requests (track )
134134 except asyncio .TimeoutError :
135- logger .exception ("TimeoutError during fetch_track_requests(%s)" , track )
135+ logger .error ("TimeoutError during fetch_track_requests(%s)" , track )
136136 finally :
137137 self .queue_query_exercism (track )
138138 elif task_type == TaskType .TASK_QUERY_DISCORD :
@@ -145,10 +145,10 @@ async def task_manager(self):
145145 elif task_type == TaskType .TASK_DISCORD_DEL :
146146 await self .update_discord_del (track , details )
147147 else :
148- logger .exception ("Unknown task type, %d" , task_type )
148+ logger .error ("Unknown task type, %d" , task_type )
149149
150- except Exception : # pylint: disable=broad-exception-caught
151- logger .exception ("Unhandled exception in task manager loop." )
150+ except Exception as e : # pylint: disable=broad-exception-caught
151+ logger .error ("Unhandled exception in task manager loop: %r." , e )
152152
153153 @task_manager .before_loop
154154 async def before_task_manager (self ):
You can’t perform that action at this time.
0 commit comments