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

Pipeline "failure reason" loses some information #226

Open
vreuter opened this issue May 30, 2024 · 0 comments
Open

Pipeline "failure reason" loses some information #226

vreuter opened this issue May 30, 2024 · 0 comments

Comments

@vreuter
Copy link
Member

vreuter commented May 30, 2024

NBD b/c the info is still available in the stack trace generally (always, I think), but for example, on a KeyError, the message would look like this:

Failure reason: 'z_px'

which loses the error type and could potentially be confusing, if that's consumed by any log reading tool that displays the failure reason, or if the traceback were lost. Ideally, we could also emit the error type in the message. Failure reason: 'z_px'

self.info("Failure reason: " + str(exc))

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

No branches or pull requests

1 participant