Skip to content

Comments

Remove PrintError API and always call to Fatal or Anomaly instead#57

Open
jrosain wants to merge 1 commit intoGoelandProver:masterfrom
jrosain:print-error-always-fatal
Open

Remove PrintError API and always call to Fatal or Anomaly instead#57
jrosain wants to merge 1 commit intoGoelandProver:masterfrom
jrosain:print-error-always-fatal

Conversation

@jrosain
Copy link
Member

@jrosain jrosain commented Jul 27, 2025

Description

Goéland had loads of errors that were printed but never managed. As this is bad practice, I've updated all occurrences of PrintError to fail (either as a Fatal error or an Anomaly). I'm not certain that I've got the semantics of 100% of the errors right, but at least we fail when faced with a problematic behaviour. It'll also help for finding issues. It seems that the test suite does not break with this change, so they shouldn't happen too often.

PR dependencies

@github-actions github-actions bot added the needs:ci Needs a CI run before merging label Jul 27, 2025
@jrosain jrosain added kind:cleanup Refactoring or improvement of existing code part:logging The PR/issue is about logging request:ci Requests a CI run from the workflow labels Jul 27, 2025
@github-actions github-actions bot removed the request:ci Requests a CI run from the workflow label Jul 27, 2025
@jrosain jrosain force-pushed the print-error-always-fatal branch from 07caee8 to 860281a Compare July 27, 2025 18:14
@jrosain jrosain added the request:ci Requests a CI run from the workflow label Jul 27, 2025
@github-actions github-actions bot removed the request:ci Requests a CI run from the workflow label Jul 27, 2025
@jrosain jrosain force-pushed the print-error-always-fatal branch from 860281a to e1355b8 Compare July 27, 2025 18:16
@jrosain jrosain added the request:ci Requests a CI run from the workflow label Jul 27, 2025
@github-actions github-actions bot removed request:ci Requests a CI run from the workflow needs:ci Needs a CI run before merging labels Jul 27, 2025
@jrosain jrosain requested a review from jcailler August 25, 2025 11:07
@jcailler jcailler added the needs:rebase When the PR needs to get rebased in order to get merged label Aug 29, 2025
@jcailler jcailler added this to the 1.2 milestone Aug 29, 2025
@jrosain jrosain force-pushed the print-error-always-fatal branch from e1355b8 to 30c890e Compare August 29, 2025 13:43
@github-actions github-actions bot added the needs:ci Needs a CI run before merging label Aug 29, 2025
@jrosain jrosain added the request:ci Requests a CI run from the workflow label Aug 29, 2025
@github-actions github-actions bot removed needs:ci Needs a CI run before merging request:ci Requests a CI run from the workflow labels Aug 29, 2025
@jrosain jrosain removed the needs:rebase When the PR needs to get rebased in order to get merged label Aug 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind:cleanup Refactoring or improvement of existing code part:logging The PR/issue is about logging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants