zeroconf: display more gentle errors

This commit is contained in:
jean-emmanuel 2018-01-25 14:05:59 +01:00
parent 87dff7ad72
commit bcdc8fa6ec
2 changed files with 6 additions and 2 deletions

View file

@ -23,6 +23,8 @@ zeroconf.publish({
protocol: 'udp',
type: 'osc',
port: oscInPort
}).on('error', (e)=>{
console.error(`Error: Zeroconf: ${e.message}`)
})
var parseType = function(type){