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

Use Python warnings and exceptions instead of custom logging #137

Merged
merged 23 commits into from
Jan 13, 2023

Conversation

mscroggs
Copy link
Member

@mscroggs mscroggs commented Dec 20, 2022

This requires FEniCS/dolfinx#2490 and firedrakeproject/tsfc#285 (both merged now)

@mscroggs mscroggs marked this pull request as draft December 20, 2022 17:30
@mscroggs
Copy link
Member Author

tsfc is importing GREEN from ufl.log, which this PR removes, so that will need updating

@mscroggs mscroggs marked this pull request as ready for review December 21, 2022 09:04
@garth-wells
Copy link
Member

BaseException isn't very informative for a user. Is there a next step plan for exception types?

@mscroggs
Copy link
Member Author

mscroggs commented Jan 3, 2023

BaseException isn't very informative for a user. Is there a next step plan for exception types?

No, we should work on a plan

@mscroggs mscroggs merged commit 46e9de6 into main Jan 13, 2023
@mscroggs mscroggs deleted the mscroggs/log branch January 13, 2023 15:05
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