Skip to content

Conversation

@rfindler
Copy link
Member

@rfindler rfindler commented Jul 15, 2024

This is intended to improve the error messages when rackunit catches an exception and decides that a test failed because of the caught exception.

Before this commit, rackunit would show only the basic message in the exception. Afterwards, it uses the error display handler, which can include a bunch more useful information (notably stack traces and information about syntax errors)

@rfindler rfindler force-pushed the show-entire-error-message branch from 2a343a2 to 18a0eb9 Compare July 15, 2024 16:20
@rfindler
Copy link
Member Author

I see that this is causing some test cases to fail, probably because they're checking the precise content of the error messages so probably the expected results need to be audited and adjusted.

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.

2 participants