add osc error logger
This commit is contained in:
parent
824fd815af
commit
569a03245c
1 changed files with 2 additions and 0 deletions
|
|
@ -170,6 +170,8 @@ try {
|
||||||
remotePort: port
|
remotePort: port
|
||||||
});
|
});
|
||||||
|
|
||||||
|
this.port.on('error', (e) => { console.error('osc error', e) })
|
||||||
|
|
||||||
this.port.on('message', msg => {
|
this.port.on('message', msg => {
|
||||||
// console.log('msg', msg)
|
// console.log('msg', msg)
|
||||||
for (const listener of this.listeners) {
|
for (const listener of this.listeners) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue