Skip to content
This repository has been archived by the owner on Oct 16, 2021. It is now read-only.

Forward exceptions from twinterpreters #15

Open
maxfischer2781 opened this issue Nov 18, 2016 · 3 comments
Open

Forward exceptions from twinterpreters #15

maxfischer2781 opened this issue Nov 18, 2016 · 3 comments

Comments

@maxfischer2781
Copy link
Owner

Exceptions happening in twinterpreters are inconsistently forwarded, sometimes not at all. All user-space exceptions should be forwarded, an possibly provide introspection.

@maxfischer2781
Copy link
Owner Author

Exceptions occurring when receiving a request are not handled by the RequestHandler: server._server_recv is called outside its scope. Any exceptions for unpickling, e.g. missing dependencies, cause the server to crash.

@maxfischer2781
Copy link
Owner Author

Global, unhandled exceptions cause a graceful shutdown of twins and a regular traceback since 9e7c867.

@maxfischer2781
Copy link
Owner Author

Python3 has the multiprocessing.pool.RemoteTraceback, which is probably worth looking into.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant