Skip to content

Commit

Permalink
Log exception, when failed to parse .nsprc file
Browse files Browse the repository at this point in the history
  • Loading branch information
Grzegorz Pawlowski committed Oct 4, 2021
1 parent 945a628 commit fe66222
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export function isJsonString(string: string): boolean {
try {
JSON.parse(string);
} catch (e) {
console.log('Failed parsing .nsprc file: ' + e)
return false;
}
return true;
Expand Down

0 comments on commit fe66222

Please # to comment.