Skip to content

Commit

Permalink
Update mqtt.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kubealex authored Jul 10, 2023
1 parent ac44276 commit 3463b2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/event_source/mqtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ async def main(queue: asyncio.Queue, args: dict[str, Any]) -> None:
try:
data = json.loads(message.payload.decode())
await queue.put(data)
except json.decoder.JSONDecodeError as e:
except json.decoder.JSONDecodeError:
logger.exception("Decoding exception for incoming message")
finally:
logger.info("Disconneccting from broker")
Expand Down

0 comments on commit 3463b2f

Please sign in to comment.