Skip to content

Commit fe72f28

Browse files
committed
Fix bare except
1 parent ad6f8b0 commit fe72f28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

alpaca_trade_api/stream2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ async def _consume_msg(self):
6767
stream = msg.get('stream')
6868
if stream is not None:
6969
await self._dispatch(stream, msg)
70-
except:
70+
except Exception:
7171
await self.close()
7272
asyncio.ensure_future(self._ensure_ws())
7373

0 commit comments

Comments
 (0)