AOSSIE-Org / AOSSIE-Org/DebateAI
Unsafe JSON Parsing Leads to entire application will crash (White Screen of Death).
Abierto
- Lenguaje dominante
- TypeScript
- Estrellas
- 84
- Forks
- 198
- Merge medio
- 2 d 19 h
- PR fusionados (30 d)
- 30
Descripción
**Location**: `frontend/src/Pages/DebateRoom.tsx `
- Issue: JSON.parse(savedState) is used on data from localStorage without a try-catch block.
- Fix: Wrap JSON.parse in a try-catch block and fallback to default state if parsing fails.
**Why: If local storage data is corrupted or the schema changes, the entire application will crash (White Screen of Death).
fix this issue**
@bhavik-mangla Please checkout this solution #299
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.