Commit b196c8f
committed
pythongh-144249: Report filename in SSLContext.load_cert_chain errors
When user tries to load a certificate chain, attach the related
filename to the exception being raised. Improving user experience1 parent 3e9a5b0 commit b196c8f
2 files changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| 134 | + | |
134 | 135 | | |
135 | 136 | | |
136 | 137 | | |
| |||
1229 | 1230 | | |
1230 | 1231 | | |
1231 | 1232 | | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
1232 | 1238 | | |
1233 | 1239 | | |
1234 | 1240 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4517 | 4517 | | |
4518 | 4518 | | |
4519 | 4519 | | |
4520 | | - | |
| 4520 | + | |
| 4521 | + | |
4521 | 4522 | | |
4522 | 4523 | | |
4523 | 4524 | | |
| |||
4537 | 4538 | | |
4538 | 4539 | | |
4539 | 4540 | | |
4540 | | - | |
| 4541 | + | |
| 4542 | + | |
4541 | 4543 | | |
4542 | 4544 | | |
4543 | 4545 | | |
| |||
0 commit comments