Repository navigation
Commit 688a43f
ref(cache): restore catch (Throwable) in the envelope session reader
Narrowing this pre-existing catch was incidental to the feature and the
only thing in this PR that alters existing behaviour: an Error while
parsing the session item used to be swallowed so the store continued and
the envelope still reached disk, whereas propagating it abandons the
store partway.
It was also inconsistent, converting one of six catch (Throwable) blocks
in this file simply because the edit landed next to it. The new
readSessionFromDisk keeps catch (Exception), so new code still refuses to
swallow fatal errors.
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent f4dfc80 commit 688a43f
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
| 311 | + | |
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
| |||
0 commit comments