We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03c8789 commit 16f1635Copy full SHA for 16f1635
setup.py
@@ -5,7 +5,7 @@
5
6
setuptools.setup(
7
name="teslemetry_stream",
8
- version="0.5.1",
+ version="0.5.2",
9
author="Brett Adams",
10
author_email="[email protected]",
11
description="Teslemetry Streaming API library for Python",
teslemetry_stream/stream.py
@@ -194,7 +194,10 @@ async def listen(self):
194
if event:
195
for listener, filters in self._listeners.values():
196
if recursive_match(filters, event):
197
- listener(event)
+ try:
198
+ listener(event)
199
+ except Exception as error:
200
+ LOGGER.error("Uncaught error in listener: %s", error)
201
LOGGER.debug("Listen has finished")
202
203
def recursive_match(dict1, dict2):
0 commit comments