summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/js/06_util.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/js/06_util.js b/runtime/js/06_util.js
index db4564e32..e04ae7bd7 100644
--- a/runtime/js/06_util.js
+++ b/runtime/js/06_util.js
@@ -19,7 +19,7 @@ function log(...args) {
if (logDebug) {
// if we destructure `console` off `globalThis` too early, we don't bind to
// the right console, therefore we don't log anything out.
- globalThis.console.log(
+ globalThis.console.error(
`DEBUG ${logSource} -`,
...new SafeArrayIterator(args),
);