From 16c870ac3436f2fa2d1b7a9db234e24525170195 Mon Sep 17 00:00:00 2001 From: Anthony Laibe Date: Mon, 10 Sep 2018 13:57:54 +0100 Subject: [PATCH] Use error logger --- lib/core/modules/coderunner/runCode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/modules/coderunner/runCode.js b/lib/core/modules/coderunner/runCode.js index a38ff7d82..e256e038e 100644 --- a/lib/core/modules/coderunner/runCode.js +++ b/lib/core/modules/coderunner/runCode.js @@ -10,7 +10,7 @@ class RunCode { try { return vm.runInNewContext(code, this.context); } catch(e) { - this.logger.trace(e.message); + this.logger.error(e.message); } }