Skip to content

nonpython example now repr all exceptions#11033

Merged
nicoddemus merged 1 commit intopytest-dev:mainfrom
jkeifer:patch-1
May 24, 2023
Merged

nonpython example now repr all exceptions#11033
nicoddemus merged 1 commit intopytest-dev:mainfrom
jkeifer:patch-1

Conversation

@jkeifer
Copy link
Copy Markdown
Contributor

@jkeifer jkeifer commented May 24, 2023

The definition of repr_failure on the YamlItem subclass only handled the custom YamlException class, which hides all other errors from the user. By adding in the super call we ensure all other exception types also appropriately handled by repr_failure.

The definition of `repr_failure` on the `YamlItem` subclass only handled the custom `YamlException` class, which hides all other errors from the user. By adding in the `super` call we ensure all other exception types also appropriately handled by `repr_failure`.
Copy link
Copy Markdown
Member

@bluetech bluetech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes this seems incorrect, thanks.

Copy link
Copy Markdown
Member

@nicoddemus nicoddemus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

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

Successfully merging this pull request may close these issues.

3 participants