diff --git a/resources/lib/websocket_client.py b/resources/lib/websocket_client.py index fc32e0bd..62002db5 100644 --- a/resources/lib/websocket_client.py +++ b/resources/lib/websocket_client.py @@ -174,9 +174,9 @@ class PMS_Websocket(WebSocket): try: message = loads(message) - except ValueError: - LOG.error('%s: Error decoding message from websocket', - self.__class__.__name__) + except ValueError as err: + LOG.error('%s: Error decoding message from websocket: %s', + self.__class__.__name__, err) LOG.error(message) return try: