Commit ef3ccc9
committed
fix: skip corrupted message/part files instead of crashing session load
A single corrupted JSON file would cause the messages endpoint to return 500, making the entire session unloadable. Now corrupted files are skipped so the rest of the session remains accessible.1 parent f9ae306 commit ef3ccc9
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
663 | 663 | | |
664 | 664 | | |
665 | 665 | | |
666 | | - | |
| 666 | + | |
667 | 667 | | |
668 | 668 | | |
669 | | - | |
| 669 | + | |
| 670 | + | |
670 | 671 | | |
671 | 672 | | |
672 | 673 | | |
673 | 674 | | |
674 | 675 | | |
675 | 676 | | |
676 | | - | |
677 | | - | |
| 677 | + | |
| 678 | + | |
678 | 679 | | |
679 | 680 | | |
680 | 681 | | |
| |||
0 commit comments