Skip to content
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

Improve error output for exception messages with special characters #131

Merged
merged 1 commit into from
Mar 25, 2022

Conversation

clue
Copy link
Owner

@clue clue commented Mar 25, 2022

This changeset improves error output for exception messages with special characters. In particular, fully qualified class names no longer have their backslash separator escaped with another backslash. Binary data and invalid UTF-8 will be replaced with a "�" (Unicode replacement character). Newlines in exception messages will be escaped like \r\n with a soft background color to discern this from the individual characters \+r+\+n.

Builds on top of #37

@clue clue added the new feature New feature or request label Mar 25, 2022
@clue clue requested a review from SimonFrings March 25, 2022 13:39
@SimonFrings SimonFrings merged commit fd0b3a0 into clue:main Mar 25, 2022
@clue clue deleted the exception-backslashes branch March 25, 2022 21:46
@SimonFrings SimonFrings added this to the v0.9.0 milestone Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants