-
Notifications
You must be signed in to change notification settings - Fork 23
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
ENH: capture all errors logged by gdal when opening a file fails #495
base: main
Are you sure you want to change the base?
ENH: capture all errors logged by gdal when opening a file fails #495
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for looking into this! Added a few quick questions
Do you have a link to the PRs that added this to rasterio/fiona (that might have some background)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working on this @theroggy ! A few suggestions re: naming things.
I added links to them in the PR description... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! A few more comments/questions
…d all logic was moved to clean_error_message
…duplicate code in ErrorHandler
…ors-logged-by-gdal-when-opening-a-file-fails
This was present in Rasterio (rasterio/rasterio#2526) and has been included in fiona::_err recently (Toblerity/Fiona#1408)... so this PR is based on the change there.
Closes #491