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

rt_regionfix polite error reporting #108

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kennethsdavis
Copy link

rt_regionfix was treating the inability to open a region fix file as an error worthy of direct printing to stderr. However this condition didn't invalidate the rt_i and the calling function (rt_prep_parallel) remained blissfully unaware.

After this fix rt_regionfix calls bu_log instead of perror. This permits error reporting on the user's terms: if the log is to be saved to file, then so be it; if the log is to be ignored, then so be it; etc.

fixes #101

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.

need option to disable rt_regionfix
2 participants