mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-20 05:13:21 -07:00
Change websocket error to exception to log traceback
This commit is contained in:
parent
033a364699
commit
4ae09774f7
1 changed files with 2 additions and 2 deletions
|
@ -266,7 +266,7 @@ def process(opcode, data):
|
|||
activity = activity_handler.ActivityHandler(timeline=time_line[0])
|
||||
activity.process()
|
||||
except Exception as e:
|
||||
logger.error("Tautulli WebSocket :: Failed to process session data: %s." % e)
|
||||
logger.exception("Tautulli WebSocket :: Failed to process session data: %s." % e)
|
||||
|
||||
if type == 'timeline':
|
||||
time_line = info.get('TimelineEntry', info.get('_children', {}))
|
||||
|
@ -279,6 +279,6 @@ def process(opcode, data):
|
|||
activity = activity_handler.TimelineHandler(timeline=time_line[0])
|
||||
activity.process()
|
||||
except Exception as e:
|
||||
logger.error("Tautulli WebSocket :: Failed to process timeline data: %s." % e)
|
||||
logger.exception("Tautulli WebSocket :: Failed to process timeline data: %s." % e)
|
||||
|
||||
return True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue