From 7d837e9f498222bba6223d8d3913d54d0fd4af00 Mon Sep 17 00:00:00 2001 From: Margret Riegert Date: Sun, 24 Nov 2024 14:12:40 -0500 Subject: [PATCH] Update src/ameba.ts Co-authored-by: Sijawusz Pur Rahnama --- src/ameba.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ameba.ts b/src/ameba.ts index 8a3f7a1..1807628 100644 --- a/src/ameba.ts +++ b/src/ameba.ts @@ -99,7 +99,7 @@ export class Ameba { try { results = JSON.parse(stdout); } catch (err) { - console.error(`Ameba: failed parsing JSON: ${err}`); + console.error('Ameba: failed parsing JSON:', err); outputChannel.appendLine(`[Task] Error: failed to parse JSON:\n${stdout}`) window.showErrorMessage('Ameba: failed to parse JSON response.'); reject(err);