Merge pull request #850 from matthijskooijman/udp-backtraces

server: Print backtraces for errors in UDP handler
This commit is contained in:
jean-emmanuel 2024-06-17 09:17:14 +02:00 • committed by GitHub
commit 71182cfd2e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -14,7 +14,7 @@ oscUDPServer.on('error', function(e) {
if (e.code === 'EADDRINUSE') {
console.error(`(ERROR, UDP) could not open port ${oscInPort} (already in use) `)
} else {
console.error(`(ERROR, UDP) ${e.message}`)
console.error('(ERROR, UDP)', e)
}
})