Skip to content

Commit

Permalink
Merge pull request #12 from MrWaloo/main
Browse files Browse the repository at this point in the history
⚡ [FIX] json_encode TypeError
  • Loading branch information
Mips2648 authored Sep 6, 2024
2 parents 67c050e + 02cd6a0 commit 84c0e36
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jeedomdaemon/aio_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,8 @@ async def __send_task(self):
self._logger.debug("first time error during send: %s", e)
last_send_on_error = True
await self.__merge_dict(self.__changes,changes)
except TypeError as e:
self._logger.error("error during send: %s. No new try to send!", e)
else:
last_send_on_error = False
await asyncio.sleep(self._cycle)
Expand Down

0 comments on commit 84c0e36

Please sign in to comment.