Commit 115d124
Address PR review: catch KeyError in response parsing
- Add KeyError to except clause when parsing JSON response to handle
missing 'code' or 'message' keys
- Add explanatory comment on pre-existing except-pass pattern
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 2165298 commit 115d124
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| |||
0 commit comments