From 81bd93a72d0b49fd78908f7c467ae9f324791e23 Mon Sep 17 00:00:00 2001 From: hackademix Date: Mon, 2 Jul 2018 01:50:32 +0200 Subject: Simplified and apparently more reliable+flexible+efficient dynamic script injection method. --- src/lib/log.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib') diff --git a/src/lib/log.js b/src/lib/log.js index fe38b87..0f12698 100644 --- a/src/lib/log.js +++ b/src/lib/log.js @@ -9,6 +9,6 @@ console.debug(`${PREFIX} ${msg}`, ...rest); } function error(e, msg, ...rest) { - console.error(`${PREFIX} ${msg}`, e, e.message, e.stack); + console.error(`${PREFIX} ${msg}`, ...rest, e, e.message, e.stack); } } -- cgit v1.2.3