validate:launcher: Reference exception in a var as we use it in the handling
authorThibault Saunier <tsaunier@igalia.com>
Thu, 6 Feb 2020 13:34:40 +0000 (10:34 -0300)
committerThibault Saunier <tsaunier@gnome.org>
Thu, 13 Feb 2020 00:11:45 +0000 (00:11 +0000)
validate/launcher/baseclasses.py

index 7a9e586..6f94da7 100644 (file)
@@ -718,7 +718,7 @@ class GstValidateListener(socketserver.BaseRequestHandler, Loggable):
 
             try:
                 obj = json.loads(msg)
-            except json.decoder.JSONDecodeError:
+            except json.decoder.JSONDecodeError as e:
                 self.error("Could not deserialize: %s - %s" % (msg, e))
                 continue