Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Add try/catch of occasional crash when parsing json #243

Merged
merged 3 commits into from
Sep 26, 2017

Conversation

HazAT
Copy link
Member

@HazAT HazAT commented Sep 26, 2017

Fixes #241

@HazAT HazAT self-assigned this Sep 26, 2017
try {
this._updateIgnoredModules(JSON.parse(moduleTable.payload));
} catch (e) {
console.log(e);
Copy link
Member

Choose a reason for hiding this comment

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

Remove the console.log and add a comment about why we think this happens.

@HazAT HazAT merged commit 628cd70 into master Sep 26, 2017
@HazAT HazAT deleted the bugfix/json-parse branch September 26, 2017 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants