diff --git a/scripts/pinned.js b/scripts/pinned.js index 47e2421e4..0f52b4482 100644 --- a/scripts/pinned.js +++ b/scripts/pinned.js @@ -29,7 +29,13 @@ const checkPinStatus = (pinFile, fileName) => { l[1].forEach((x) => { delete pins[x]; }); break; } - default: throw new Error(JSON.stringify(l) + ' ' + fileName); + default: + // TODO write to the error log + /* Log.error('CORRUPTED_PIN_LOG', { + line: JSON.stringify(l), + fileName: fileName, + }); */ + console.error(new Error (JSON.stringify(l) + ' ' + fileName)); } }); return Object.keys(pins);