Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Lisk Nano throw an error if config.json is corrupted #942

Closed
alepop opened this issue Nov 2, 2017 · 1 comment
Closed

Lisk Nano throw an error if config.json is corrupted #942

alepop opened this issue Nov 2, 2017 · 1 comment
Assignees
Labels

Comments

@alepop
Copy link
Contributor

alepop commented Nov 2, 2017

Expected behaviour

If file in appData folder is corrupted (storage/config.json) it causes an error on Lisk Nano launch.
It happens because electron-json-storage expects file with valid json format, but file can be empty.

screen shot 2017-11-02 at 10 42 46

Actual behaviour

There is no error exception on Lisk Nano launch.

Steps to reproduce

Try to open and close Lisk Nano many times before full loading is completed.

@slaweet
Copy link
Contributor

slaweet commented Nov 6, 2017

Fixed in #943

@slaweet slaweet closed this as completed Nov 6, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants