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 ad6f8b0 commit fe72f28Copy full SHA for fe72f28
alpaca_trade_api/stream2.py
@@ -67,7 +67,7 @@ async def _consume_msg(self):
67
stream = msg.get('stream')
68
if stream is not None:
69
await self._dispatch(stream, msg)
70
- except:
+ except Exception:
71
await self.close()
72
asyncio.ensure_future(self._ensure_ws())
73
0 commit comments