Skip to content

Commit 7b0ff73

Browse files
committed
Add debug logging for received authentication requests in WebSocket connection
1 parent f45ccb7 commit 7b0ff73

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/query/websocket/websocket_connection.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ func (wC *WebsocketConnection) ReadForDisconnect() {
4545
wC.IsConnected = false
4646
break
4747
} else {
48+
log.Debug().Interface("authReq", authRequest).Msg("Received auth request")
4849
_, err = auth.VerifyToken(authRequest.Token)
4950
if err != nil {
5051
log.Debug().Err(err).Msg("Error while verifying token")

0 commit comments

Comments
 (0)