Skip to content

Add details to evaluation aborts that cause warnings #3851

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

Merged
merged 2 commits into from
May 7, 2024

Conversation

jberthold
Copy link
Member

For warnings during evaluation/simplification, the warning message advises users to use a certain log context. This PR changes the recommended log context to *abort*detail, for which informative details have been added in all call sites of logWarn.

At the same time, the warning about too many iterations was duplicated in the Rewrite module, and was therefore downgraded to Simplify level there.

Fixes #3849

For warnings during evaluation/simplification, the warning message
advises users to use a certain log context. This PR changes the
recommended log context to `*abort*detail`, for which informative
details have been added in all call sites of `logWarn`.

At the same time, the warning about too many iterations was duplicated
in the `Rewrite` module, and was therefore downgraded to `Simplify`
level there.
@jberthold jberthold marked this pull request as ready for review May 7, 2024 06:55
Copy link
Contributor

@goodlyrottenapple goodlyrottenapple left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for beefing these up!

@rv-jenkins rv-jenkins merged commit 538d079 into master May 7, 2024
@rv-jenkins rv-jenkins deleted the 3849-add-detail-logs-for-warnings branch May 7, 2024 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide additional information about errors/warnings with a suitable context
4 participants