Separate API and websocket logging

This commit is contained in:
JonnyWong16
2017-09-30 16:42:25 -07:00
parent fe210646c3
commit 54cd860c13
5 changed files with 178 additions and 51 deletions

View File

@@ -172,6 +172,7 @@ def process(opcode, data):
return False
try:
logger.websocket_debug(data)
info = json.loads(data)
except Exception as e:
logger.warn(u"PlexPy WebSocket :: Error decoding message from websocket: %s" % e)