fromJSON shoule be catch
Open
Priority: Medium
Type: Bug
- Dominant language
- TypeScript
- Stars
- 75
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
We should use `fromJSON` with try-catch.
because, json schmea will be changed at sometimes.
To prevent white screen by chaning schema.
```js
try { fromJSON } catch(){}
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the TypeScript call sites for `fromJSON` in this Electron client and inspect how schema data reaches the UI. Reproduce the schema-change failure if possible, then verify that malformed or changed JSON no longer produces a white screen while existing behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, typescript
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100