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

[gardening]: swap some preconditions with fatalError for better debugging #328

Merged
merged 1 commit into from
Mar 14, 2025

Conversation

jamieQ
Copy link
Contributor

@jamieQ jamieQ commented Mar 14, 2025

it was pointed out that precondition failure messages are generally not displayed in crash reports, so fatalError may be a better tool to handle terminating conditions. this change swaps out usage of precondition with fatalError for this reason.

@jamieQ jamieQ changed the title [gardening]: swap some preconditions with fatalError for better debug… [gardening]: swap some preconditions with fatalError for better debugging Mar 14, 2025
@jamieQ jamieQ marked this pull request as ready for review March 14, 2025 14:38
@jamieQ jamieQ requested review from a team as code owners March 14, 2025 14:38
@jamieQ jamieQ merged commit fddbc41 into main Mar 14, 2025
7 checks passed
@jamieQ jamieQ deleted the jquadri/precon-to-fatal branch March 14, 2025 17:43
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.

3 participants