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

Show information about subprocess exception #532

Merged
merged 2 commits into from
Apr 15, 2024

Conversation

gabrielmbmb
Copy link
Member

Description

When an exception was raised in a subprocess, the exception was handled correctly with the error_callback but only the message from the original subprocess exception was being displayed, making a bit hard to debug the origin of the exception.

This PR improves that adding tblib as a dependency, which allows to pickle Python Tracebacks.

When a step fails loading

image

When a GlobalStep fails

image

When a Step fails

image

@gabrielmbmb gabrielmbmb added the enhancement New feature or request label Apr 15, 2024
@gabrielmbmb gabrielmbmb added this to the 1.0.0 milestone Apr 15, 2024
@gabrielmbmb gabrielmbmb self-assigned this Apr 15, 2024
@gabrielmbmb gabrielmbmb merged commit 7233b1c into main Apr 15, 2024
4 checks passed
@gabrielmbmb gabrielmbmb deleted the improve-traceback-from-subprocess branch April 15, 2024 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[BUG] opaque Pipeline error messages due to Python multiprocessing.pool error callback
2 participants