From 64ecbf5be0fd12b0e4e8a6cd02b4b5a7b063beba Mon Sep 17 00:00:00 2001 From: Dima Gerasimov Date: Mon, 28 Jan 2019 23:41:40 +0000 Subject: [PATCH] nicer debug logging --- src/js/background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/background.js b/src/js/background.js index d2449ed..1add9c3 100644 --- a/src/js/background.js +++ b/src/js/background.js @@ -44,7 +44,7 @@ function makeCaptureRequest( // TODO handle json parsing defensively here const response = JSON.parse(rtext); const path = response.path; - console.log(`[background] success: ${response}`); + console.log(`[background] success: ${rtext}`); if (options.notification) { showNotification(`OK: captured to ${path}`); }