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 efdfaa5 commit 0b30d67Copy full SHA for 0b30d67
Sources/DiscordKitCore/Gateway/RobustWebSocket.swift
@@ -675,7 +675,7 @@ public extension RobustWebSocket {
675
676
Self.log.trace("Outgoing Payload", metadata: [
677
"opcode": "\(opcode)",
678
- "data": "\(data)",
+ "data": "\((T.self == GatewayIdentify.self ? nil : data))", // Don't log tokens.
679
"seq": "\(seq ?? -1)"
680
])
681
0 commit comments