We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fa5efe commit e185fb6Copy full SHA for e185fb6
packages/socket.io/lib/namespace.ts
@@ -197,7 +197,10 @@ export class Namespace<
197
_initAdapter(): void {
198
// @ts-ignore
199
this.adapter = new (this.server.adapter()!)(this);
200
- this.adapter.init();
+
201
+ Promise.resolve(this.adapter.init()).catch((err) => {
202
+ debug("error while initializing adapter: %s", err);
203
+ });
204
}
205
206
/**
0 commit comments