Use error logger

This commit is contained in:
Anthony Laibe 2018-09-10 13:57:54 +01:00
parent b41bcbbe17
commit 16c870ac34

View File

@ -10,7 +10,7 @@ class RunCode {
try { try {
return vm.runInNewContext(code, this.context); return vm.runInNewContext(code, this.context);
} catch(e) { } catch(e) {
this.logger.trace(e.message); this.logger.error(e.message);
} }
} }