From fe66222e05e0eb08bd7b89f45973c4e82cbe601d Mon Sep 17 00:00:00 2001 From: Grzegorz Pawlowski Date: Mon, 4 Oct 2021 10:22:04 +0200 Subject: [PATCH] Log exception, when failed to parse .nsprc file --- src/utils/common.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils/common.ts b/src/utils/common.ts index 3262bef..65fc4e0 100644 --- a/src/utils/common.ts +++ b/src/utils/common.ts @@ -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;