Skip to content

Commit 5d06e54

Browse files
committed
catch throwable instead of UnsatisfiedLinkError when jda nas is loaded
1 parent 0ba07a5 commit 5d06e54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LavalinkServer/src/main/java/lavalink/server/config/KoeConfiguration.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class KoeConfiguration(val serverConfig: ServerConfig) {
4848
}
4949
try {
5050
setFramePollerFactory(UdpQueueFramePollerFactory(bufferSize, Runtime.getRuntime().availableProcessors()))
51-
} catch (e: UnsatisfiedLinkError) {
51+
} catch (e: Throwable) {
5252
log.warn("A minimum of GLIBC 2.25 is required to support native audio sending! "
5353
+ "GC pauses may cause your bot to stutter during playback.")
5454
}

0 commit comments

Comments
 (0)