azu / azu/faao

fromJSON shoule be catch

Open
#56 0 comments 0 reactions 0 assignees View on GitHub
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.