Commit ba0c759
fix: address CodeRabbit review on PR #606
- iOS: classify the patch-manifest JSON parse error as PATCH_FAILED;
it previously fell through unclassified and the downloadUpdate
fallback mislabeled it DOWNLOAD_FAILED even though the download
itself had succeeded
- type EventData.code as UpdateErrorCode instead of a loose string for
compile-time protection against typo'd codes
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 414f020 commit ba0c759
2 files changed
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
693 | 693 | | |
694 | 694 | | |
695 | 695 | | |
696 | | - | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
697 | 700 | | |
698 | 701 | | |
699 | 702 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
64 | | - | |
65 | | - | |
| 66 | + | |
| 67 | + | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
| |||
0 commit comments