diff options
author | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-09-26 20:33:57 +1000 |
---|---|---|
committer | Madeline <46743919+MaddyUnderStars@users.noreply.github.com> | 2022-09-26 20:33:57 +1000 |
commit | e700ab1e65c02e5100bf06ba4ec80ff022f3024a (patch) | |
tree | 8313118c0a7afcd4d3fc3e6fcdf1ba71c876ff9e /src/gateway/events | |
parent | Fix slowcord additional services (diff) | |
download | server-e700ab1e65c02e5100bf06ba4ec80ff022f3024a.tar.xz |
Add generate:client script
Diffstat (limited to 'src/gateway/events')
-rw-r--r-- | src/gateway/events/Close.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gateway/events/Close.ts b/src/gateway/events/Close.ts index 40d9a6f7..82d16234 100644 --- a/src/gateway/events/Close.ts +++ b/src/gateway/events/Close.ts @@ -9,7 +9,7 @@ import { } from "@fosscord/util"; export async function Close(this: WebSocket, code: number, reason: string) { - console.log("[WebSocket] closed", code, reason); + console.log("[WebSocket] closed", code, reason.toString()); if (this.heartbeatTimeout) clearTimeout(this.heartbeatTimeout); if (this.readyTimeout) clearTimeout(this.readyTimeout); this.deflate?.close(); |