Commit 966d7c1
fix: narrow exception catch in filepath encode to (FileNotFoundError, OSError)
Addresses review comment — the bare `except Exception` was too broad.
backend.size() can only fail with filesystem-related errors.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 8b837b9 commit 966d7c1
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
0 commit comments