Skip to content
Snippets Groups Projects
Commit 3eab25b3 authored by Jan David Mol's avatar Jan David Mol
Browse files

fix lotus interface

parent 72b9dce2
No related branches found
No related tags found
1 merge request!1067Fix release issues
...@@ -189,7 +189,7 @@ class Statistics(OPCUADevice): ...@@ -189,7 +189,7 @@ class Statistics(OPCUADevice):
# decode payload # decode payload
try: try:
message = json.loads(payload.decode()) message = json.loads(payload)
except (json.decoder.JSONDecodeError, UnicodeDecodeError): except (json.decoder.JSONDecodeError, UnicodeDecodeError):
logger.exception( logger.exception(
f"Could not decode message payload as JSON {topic=} {message=}" f"Could not decode message payload as JSON {topic=} {message=}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment