This commit is contained in:
NoLogicAlan committed 2026-05-14 15:46:28 +03:00
1 parent 506d3c4cf8
commit 6b4bcf143c
2 files changed
+65 -100

No files matched your search

+2 -1
View File
@@ -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);
}