Skip to content

Commit

Permalink
Add logging of Koe gateway errors (lavalink-devs#982)
Browse files Browse the repository at this point in the history
  • Loading branch information
freyacodes committed Nov 14, 2023
1 parent 7655511 commit d685d98
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,5 +232,9 @@ class SocketContext(
override fun gatewayReady(target: InetSocketAddress?, ssrc: Int) {
SocketServer.sendPlayerUpdate(this@SocketContext, player)
}

override fun gatewayError(cause: Throwable) {
log.error("Koe encountered a voice gateway exception for guild ${player.guildId}", cause)
}
}
}

0 comments on commit d685d98

Please sign in to comment.