diff --git a/src/component/internal/messages.ts b/src/component/internal/messages.ts index edc18483..45be74e0 100644 --- a/src/component/internal/messages.ts +++ b/src/component/internal/messages.ts @@ -60,7 +60,7 @@ export class NekoMessages extends EventEmitter { if (typeof this[event] === 'function') { try { // @ts-ignore - this[event](payload) + await this[event](payload) } catch (error: any) { this._remoteLog.error(`error while processing websocket event`, { event, error }) }