custom module: output init error to stderr

This commit is contained in:
jean-emmanuel 2018-05-25 13:45:03 +02:00
parent 195f266c56
commit dff55492d3

View file

@ -46,7 +46,7 @@ class OscServer {
try {
mod = vm.runInContext(file, vm.createContext(context))
} catch(err) {
console.log(err)
console.error(err)
return false
}