Commit 8715bd1
Map SFTPPermissionDenied to PermissionError
Only the auth-level PermissionDenied was translated; SFTP-level
permission errors (e.g. opening a read-only file for write) leaked
the asyncssh exception through the public API.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 90c03f8 commit 8715bd1
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| |||
0 commit comments