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

Multiline error messages are not printed in their entirety #1822

Closed
trisyoungs opened this issue Mar 18, 2024 · 1 comment · Fixed by #1823
Closed

Multiline error messages are not printed in their entirety #1822

trisyoungs opened this issue Mar 18, 2024 · 1 comment · Fixed by #1823
Assignees
Labels
Type: Bug General bug / issue

Comments

@trisyoungs
Copy link
Member

Describe the bug
The Messenger::error function does not correctly parse and print multiline messages. For example:

Messenger::error("This is part 1.\nAnd this is part 2.");

Only "This is part 1." is printed:

***  ERROR
***  ERROR This is part 1.
***  ERROR
@trisyoungs trisyoungs added the Type: Bug General bug / issue label Mar 18, 2024
@trisyoungs trisyoungs self-assigned this Mar 18, 2024
@rprospero rprospero self-assigned this Mar 21, 2024
@rprospero
Copy link
Contributor

After a bit of testing, we do mostly print multi-line messages correctly. It is only the last line which is skipped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug General bug / issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants