Commit 4fa5251
committed
fix(12-04): add try-catch to JSON.parse in RoadmapPlanningService
- Wrap JSON.parse in try-catch block
- Provide descriptive error message on parse failure
- Improves error handling for malformed AI responses1 parent c78f750 commit 4fa5251
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
| 175 | + | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
179 | 184 | | |
180 | 185 | | |
181 | 186 | | |
| |||
0 commit comments