You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Event handler dumps an event (dict) into an anyio memory_stream's send_stream
Event handler done
Separate anyio-spawned thread picks up the event (inside an async for)
Event is executed, exception hit
Stack trace posted above happens
The rest of the application (the event queue) is responsive when this happens and I'm able to dispatch/process events via non-idom means.
My fix was to add a try/catch around step 5. The problem is resolved but the stack trace was getting swallowed somehow from the exception in event execution so it took a while to realize it was my code at fault.
The flow:
async for
)The rest of the application (the event queue) is responsive when this happens and I'm able to dispatch/process events via non-idom means.
My fix was to add a try/catch around step 5. The problem is resolved but the stack trace was getting swallowed somehow from the exception in event execution so it took a while to realize it was my code at fault.
Hopefully that all makes sense.
Originally posted by @brentbaum in #392 (reply in thread)
The text was updated successfully, but these errors were encountered: