Commit c99e473d authored by Magnus Knutas's avatar Magnus Knutas
Browse files

Exception logging

parent b41917b5
Pipeline #16589 failed with stage
in 18 seconds
......@@ -47,7 +47,7 @@ class Router(object):
kwargs['payload_data'] = ujson.loads(
payload)
except ValueError as err:
_LOGGER.error("Unable to decode json: %s", str(err))
pass
else:
kwargs['payload_data'] = {}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment