Replies: 1 comment 1 reply
-
Hi there, sorry for the late reply! You might have stumbled on the same issue as #268. The underlying problem is that when an exception is raised inside a generator, the generator will raise the For an immediate workaround, you could try to use Let me know if that works 🙂 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The intention of the below code is to support reconnection as well as external shutdown via
asyncio.Event
. The shutdown appears to work, but the reconnect does not. If I restart the broker, the code attempts to reconnect, but themessage_task
is always finished on reconnect. I'm not an expert in Python async, so any opinions you can share would be appreciated.Beta Was this translation helpful? Give feedback.
All reactions