Skip to content

add error handler to json parsing of translation files#2150

Merged
MichMich merged 5 commits into
MagicMirrorOrg:developfrom
sdetweil:fixparse
Oct 6, 2020
Merged

add error handler to json parsing of translation files#2150
MichMich merged 5 commits into
MagicMirrorOrg:developfrom
sdetweil:fixparse

Conversation

@sdetweil

@sdetweil sdetweil commented Oct 4, 2020

Copy link
Copy Markdown
Collaborator

old translation files which contain comments are causing fatal json.parse error..

add code to trap and report parse failure, keep running

#2149

@MagicMirrorBot

Copy link
Copy Markdown
Warnings
⚠️

Please include an updated CHANGELOG.md file.
This way we can keep track of all the contributions.

Generated by 🚫 dangerJS

Comment thread js/translator.js Outdated
@sdetweil sdetweil changed the base branch from master to develop October 5, 2020 15:33
@MichMich MichMich merged commit ec80b25 into MagicMirrorOrg:develop Oct 6, 2020
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.

4 participants