-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handler exceptions silently vanish in asyncio #93
Comments
Thanks for the response @ThomasWaldmann . However, as I'm not familiar with Cython, I'm not sure what that change implies? |
No idea about the different behaviour. |
The changes above should not affect trio vs asyncio. I believe the reason for the different behavior is the implementation of |
..but I am not an asyncio user, so it's also possible that the reason lies within asyncio itself. |
I'm new to pyfuse3, and am learning it.
When using trio, if a handler function (e.g.
readdir()
) throws an exception, the exception is raised globally, and the app crashes. To me, this is an expected behaviour.However, when using asyncio, the exception vanishes -- nothing is printed in the terminal. This is unexpected.
Is there an argument / option that controls this behaviour? How can I make the exception visible to me during development at least?
I saw #82, but am not sure if that is talking about the same topic. In particular, I would agree that an exception should not crash the app (configurable through argument), but should be visible. Silently snoozing it is not a good idea.
The text was updated successfully, but these errors were encountered: