Commit 76252d7
committed
fix(webapp): wrap playground 'save' JSON.parse to return 400 on malformed input
Mirrors the 'start' case (lines 104-108) — uncaught JSON.parse on a
malformed messages form field surfaced as an unhandled 500 instead of
a clean 400. Addresses Devin review on PR #3173.1 parent 98f89a2 commit 76252d7
1 file changed
Lines changed: 6 additions & 1 deletion
File tree
- apps/webapp/app/routes
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
242 | | - | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
243 | 248 | | |
244 | 249 | | |
245 | 250 | | |
| |||
0 commit comments