Commit 95e646e
refactor(runtime): wrap malformed list_jobs cursors in a stable error
Integer.parseInt on a valid-Base64 but non-numeric cursor threw a raw
NumberFormatException whose parser message was echoed to the client in
INVALID_REQUEST. Both decode failures now surface as a uniform
"invalid cursor" IllegalArgumentException. Addresses the code-quality
review finding on decodeCursor.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent c3d7235 commit 95e646e
1 file changed
Lines changed: 8 additions & 3 deletions
Lines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
70 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
71 | 76 | | |
72 | 77 | | |
73 | 78 | | |
| |||
0 commit comments