summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/log.js2
1 files changed, 1 insertions, 1 deletions
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);
}
}