validate:launcher: Reference exception in a var as we use it in the handling

This commit is contained in:
Thibault Saunier 2020-02-06 10:34:40 -03:00 committed by Thibault Saunier
parent db2acf1cdf
commit d17c2ff65c

View 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