Skip to content
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

Add error callback to pmap #87

Open
dwysocki opened this issue Nov 4, 2015 · 0 comments
Open

Add error callback to pmap #87

dwysocki opened this issue Nov 4, 2015 · 0 comments

Comments

@dwysocki
Copy link
Member

dwysocki commented Nov 4, 2015

Pool.apply_async takes an optional error_callback argument, which is called in the case of an exception in one of the subprocesses. We should add support for this in our utils.pmap function. Currently, if there's an exception in a subprocess, the resulting error is cryptic. This could help remedy this problem.

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

No branches or pull requests

1 participant