Skip to content

Conversation

@jkeifer
Copy link
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
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
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