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

atexit() hook to report info about failure conditions #793

Open
PhilMiller opened this issue Apr 16, 2024 · 0 comments
Open

atexit() hook to report info about failure conditions #793

PhilMiller opened this issue Apr 16, 2024 · 0 comments

Comments

@PhilMiller
Copy link
Contributor

Current behavior

If a formulation calls exit(), abort(), STOP, or similar, the job just stops, with no clear report of what formulation failed or where.

Expected behavior

The framework should keep track of what formulation is running and what catchment it's running on. An atexit() hook should print the contents of those variables in the event of an unexpected early exit

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

No branches or pull requests

1 participant