Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34k
Open
Description
Feature or enhancement
Proposal:
Considering the following example
ctx=ssl.create_default_context()ctx.load_cert_chain(maybe_no_exists,maybe_not_exists_also)# -> FileNotFoundError: [Errno 2] No such file or directory
The current implementation returns a simpleNo such file or directory exception without information about the file itself
Since FileNotFoundError have a filename attribute that is correctly reported in its representation, it would be appreciable to have the filename attached to the exception being raised
Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
No response