Commit adfe576
committed
refactor: Improve exception handling in Excel parser
- Change BaseException to Exception in both except blocks
- Remove manual KeyboardInterrupt/SystemExit re-raise (now propagates naturally)
- Add explanatory comment for empty except block when seeking file pointer
Addresses code quality bot feedback on PR #850
Co-Authored-By: unknown <>1 parent 34fe892 commit adfe576
1 file changed
+4
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
| 203 | + | |
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
207 | | - | |
208 | | - | |
209 | | - | |
| 207 | + | |
210 | 208 | | |
211 | 209 | | |
212 | 210 | | |
| |||
220 | 218 | | |
221 | 219 | | |
222 | 220 | | |
| 221 | + | |
223 | 222 | | |
224 | 223 | | |
225 | 224 | | |
| |||
236 | 235 | | |
237 | 236 | | |
238 | 237 | | |
239 | | - | |
240 | | - | |
241 | | - | |
| 238 | + | |
242 | 239 | | |
243 | 240 | | |
244 | 241 | | |
| |||
0 commit comments