Skip to content

Show entire error message #179

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

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.

1 participant