From 195f266c56ab0dd2ee0a25657026ef6993c61d48 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Fri, 25 May 2018 13:43:07 +0200 Subject: [PATCH] udp: error logging in udp module --- app/main/osc/udp.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/main/osc/udp.js b/app/main/osc/udp.js index cce0ce67..08278e9a 100644 --- a/app/main/osc/udp.js +++ b/app/main/osc/udp.js @@ -10,6 +10,10 @@ var oscUDPServer = new osc.UDPPort({ broadcast: true }) +oscUDPServer.on('error', function(error) { + console.error(error) +}) + zeroconf.publish({ name: settings.read('appName') + (settings.read('instanceName') ? ' (' + settings.read('instanceName') + ')' : ''), protocol: 'udp',