From dff55492d35fe62fc0f8db93f48bfb5472a1ad4c Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 25 May 2018 13:45:03 +0200 Subject: [PATCH] custom module: output init error to stderr --- app/main/osc/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main/osc/index.js b/app/main/osc/index.js index dc9280d1..73622628 100644 --- a/app/main/osc/index.js +++ b/app/main/osc/index.js @@ -46,7 +46,7 @@ class OscServer { try { mod = vm.runInContext(file, vm.createContext(context)) } catch(err) { - console.log(err) + console.error(err) return false }