mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-24 06:01:44 -05:00
fixis
This commit is contained in:
1 parent
506d3c4cf8
commit
6b4bcf143c
2 files changed
+65
-100
No files matched your search
@@ -606,6 +606,7 @@ export class Remix {
|
||||
*/
|
||||
_attachWsErrorHandlers() {
|
||||
try {
|
||||
if (this._wsErrorHandlersAttached) return;
|
||||
const wsManager = this.client?.ws;
|
||||
if (!wsManager) return;
|
||||
|
||||
@@ -657,7 +658,7 @@ export class Remix {
|
||||
});
|
||||
}
|
||||
|
||||
logger.player("[WS] Proactive error handlers attached to gateway sockets.");
|
||||
this._wsErrorHandlersAttached = true;
|
||||
} catch (e) {
|
||||
logger.warn("[WS] Failed to attach WS error handlers:", e.message);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user