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

Fix exception throwing - Close 942 #943

Merged
merged 1 commit into from
Nov 2, 2017
Merged

Fix exception throwing - Close 942 #943

merged 1 commit into from
Nov 2, 2017

Conversation

alepop
Copy link
Contributor

@alepop alepop commented Nov 2, 2017

What was the problem?

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.

How did I fix it?

Remove throw error code.

How to test it?

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

Review checklist

Copy link
Contributor

@slaweet slaweet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @alepop

@slaweet slaweet changed the base branch from development to 1.3.0 November 2, 2017 13:57
@slaweet slaweet merged commit 48be6b0 into LiskArchive:1.3.0 Nov 2, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants