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

Output from erroridf does not include suppression instructions #11497

Closed
jmooring opened this issue Sep 25, 2023 · 2 comments
Closed

Output from erroridf does not include suppression instructions #11497

jmooring opened this issue Sep 25, 2023 · 2 comments

Comments

@jmooring
Copy link
Member

jmooring commented Sep 25, 2023

{{ erroridf "error-42" "You should consider fixing this." }}

Prior to v0.114.0

ERROR 2023/09/25 15:40:58 You should consider fixing this.
If you feel that this should not be logged as an ERROR, you can ignore it by adding this to your site config:
ignoreErrors = ["error-42"]

With v0.114.0 and later:

ERROR You should consider fixing this.

Note that error suppression works as expected. This is just a console output issue.

I've also noticed that warnf, errorf, and erroridf no longer include timestamps. I don't particularly care about this (actually I think it's an improvement), but others might feel differently.

@jmooring
Copy link
Member Author

jmooring commented Oct 5, 2023

Duplicate of #11506

@jmooring jmooring marked this as a duplicate of #11506 Oct 5, 2023
@jmooring jmooring closed this as completed Oct 5, 2023
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant