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

Improve exception handling #16

Merged
merged 2 commits into from
Jul 16, 2024
Merged

Improve exception handling #16

merged 2 commits into from
Jul 16, 2024

Conversation

jrha
Copy link
Member

@jrha jrha commented Jul 16, 2024

No description provided.

- Remove unnecessary parens after 'raise' keyword
- Fix exception handling around config file access
  - ConfigParser.MissingSectionHeaderError was in the wrong place.
  - readfp throws an IOError when unable to access content.
- Add missing instance to exception
@jrha jrha force-pushed the exception_handling branch from 70f5371 to 889da0e Compare July 16, 2024 15:58
@Oli-Rest Oli-Rest merged commit 06e5d26 into main Jul 16, 2024
1 of 2 checks passed
@jrha jrha deleted the exception_handling branch July 17, 2024 09:24
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.

2 participants