From 569a03245cc95a3686dbebe871efe308d145127d Mon Sep 17 00:00:00 2001 From: RikSolo Date: Thu, 29 Jan 2026 02:05:45 +0100 Subject: [PATCH] add osc error logger --- src/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.ts b/src/index.ts index fe6fbbc..8f19bd2 100644 --- a/src/index.ts +++ b/src/index.ts @@ -170,6 +170,8 @@ try { remotePort: port }); + this.port.on('error', (e) => { console.error('osc error', e) }) + this.port.on('message', msg => { // console.log('msg', msg) for (const listener of this.listeners) {