Skip to content

Commit 520647f

Browse files
committed
changed behavior on invalid OSC message where the error is only logged,
but the module does not stop running
1 parent ff1089d commit 520647f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ export class WingInstance extends InstanceBase<WingConfig> implements InstanceBa
155155
})
156156

157157
this.connection?.on('error', (err: Error) => {
158-
this.updateStatus(InstanceStatus.ConnectionFailure, err.message)
158+
this.logger?.error(JSON.stringify(err))
159159
})
160160

161161
this.connection?.on('close', () => {

0 commit comments

Comments
 (0)