Skip to content

Pipeline "failure reason" loses some information #226

Open
@vreuter

Description

@vreuter

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))

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions