From 642c01dcded74fbe9a6615ae4dd6fe1a9530d75b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?To=CF=80?= Date: Sun, 26 Nov 2023 22:03:07 +0100 Subject: [PATCH] remove unnecessary exceptionally --- .../src/main/java/lavalink/server/player/PlayerRestHandler.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/LavalinkServer/src/main/java/lavalink/server/player/PlayerRestHandler.kt b/LavalinkServer/src/main/java/lavalink/server/player/PlayerRestHandler.kt index bd4efd60d..1ae1bbffc 100644 --- a/LavalinkServer/src/main/java/lavalink/server/player/PlayerRestHandler.kt +++ b/LavalinkServer/src/main/java/lavalink/server/player/PlayerRestHandler.kt @@ -213,9 +213,7 @@ class PlayerRestHandler( } }) - trackFuture.exceptionally { - throw it - }.join() + trackFuture.join() } newTrack?.let {