Replies: 1 comment 1 reply
-
I'd try adding a |
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
-
Hi, I have an async consumer that has the method
chatroom()
that tries to call another method_can_access_room()
. In_can_access_room()
there's a case it raises a custom Exception (inherit from Exception). But I cannot catch the custom Exception inchatroom()
. The log shows that it raised, and WebSocket disconnects. I set a breakpoint on the line that catches the exception but it doesn't stop there. But if I catch the base Exception, it works. Please help, thanks ^^Here's my code:
Here's the log:
Beta Was this translation helpful? Give feedback.
All reactions