Skip to content

Commit

Permalink
Add debug logs to websocket text handler
Browse files Browse the repository at this point in the history
  • Loading branch information
duncte123 committed Jan 21, 2024
1 parent e740a72 commit 14c7602
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ class LavalinkSocket(private val node: LavalinkNode) : WebSocketListener(), Clos
}

override fun onMessage(webSocket: WebSocket, text: String) {
logger.debug("-> {}", text)

val event = json.decodeFromString<Message>(text)

when (event.op) {
Expand Down

0 comments on commit 14c7602

Please sign in to comment.