Remove unnecessary container call

This commit is contained in:
Garrett Mills 2022-07-14 01:16:35 -05:00
parent ea81a37315
commit d00e6a02e2

View File

@ -97,7 +97,6 @@ export class WebSocketBus implements EventBus, AwareOfContainerLifecycle {
await resource.runInAsyncScope(async () => { await resource.runInAsyncScope(async () => {
this.logging.verbose(`Got data from websocket: ${data}`) this.logging.verbose(`Got data from websocket: ${data}`)
try { try {
Container.getContainer()
await this.onMessage(`${data}`) await this.onMessage(`${data}`)
} catch (e: unknown) { } catch (e: unknown) {
if ( e instanceof NoSerializerError ) { if ( e instanceof NoSerializerError ) {