LUCIT-Systems-and-Development / unicorn-binance-websocket-api

A Python SDK by LUCIT to use the Binance Websocket API`s (com+testnet, com-margin+testnet, com-isolated_margin+testnet, com-futures+testnet, com-coin_futures, us, tr, dex/chain+testnet) in a simple, fast, flexible, robust and fully-featured way.
https://unicorn-binance-websocket-api.docs.lucit.tech/
Other
677 stars 166 forks source link

Tracebacks of `process_asyncio_queue`-coroutines #375

Closed oliver-zehentleitner closed 2 months ago

oliver-zehentleitner commented 2 months ago

Is your feature request related to a problem? Please describe.

Python does not display tracebacks of coroutines that are executed in an asyncio loop. If your function is passed to UBWA as a coroutine with process_asyncio_queue, Python does not display an error on the console! Theen the coroutine dies and the web stream continues to run.

Info: https://rotational.io/blog/spooky-asyncio-errors-and-how-to-fix-them/

Describe the solution you'd like.

Describe alternatives you've considered

No response

Additional context

No response

oliver-zehentleitner commented 1 month ago

Implemented since 2.5.0