Remove unnecessary container call
This commit is contained in:
parent
ea81a37315
commit
d00e6a02e2
@ -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 ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user