Skip to content

refs #3452 - assert on unprintable characters in error messages#8270

Draft
firewave wants to merge 1 commit intodanmar:mainfrom
firewave:unprint
Draft

refs #3452 - assert on unprintable characters in error messages#8270
firewave wants to merge 1 commit intodanmar:mainfrom
firewave:unprint

Conversation

@firewave
Copy link
Collaborator

No description provided.

@firewave
Copy link
Collaborator Author

These need to be escaped otherwise they will be printed literally.

@firewave
Copy link
Collaborator Author

firewave commented Feb 27, 2026

I think asserting should be sufficient for now since unprintable characters should never appear in the actual (mainly hard-coded) error messages. The tests containing such characters do not essentially reflect real-life code and we should rely on daca feedback instead.

The part of the of the message which contains actual code needs to be escaped. But I will address this is a separate PR.

@firewave firewave added the merge-after-next-release Wait with merging this PR until after the next Release label Feb 27, 2026
@sonarqubecloud
Copy link

@firewave firewave removed the merge-after-next-release Wait with merging this PR until after the next Release label Mar 2, 2026
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