Skip to content

Commit 16b3238

Browse files
committed
Log task exceptions as exceptions
1 parent dfc72a3 commit 16b3238

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

saltyrtc/server/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ def handler(self, connection, ws_path):
260260
client.log.error('Task loop has been killed after {} seconds!',
261261
TASK_LOOP_TIMEOUT)
262262
except Exception as exc:
263-
client.log.warning('Task loop returned with an exception: {}', exc)
263+
client.log.exception('Task loop returned with an exception: {}', exc)
264264
client.close_task_queue()
265265
client.log.debug('Task queue finished and closed')
266266

0 commit comments

Comments
 (0)