Skip to content

Commit 00ce38c

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

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ class KoeConfiguration(val serverConfig: ServerConfig) {
4949
try {
5050
setFramePollerFactory(UdpQueueFramePollerFactory(bufferSize, Runtime.getRuntime().availableProcessors()))
5151
} catch (e: Throwable) {
52-
log.warn("A minimum of GLIBC 2.25 is required to support native audio sending! "
53-
+ "GC pauses may cause your bot to stutter during playback.")
52+
log.warn("Failed to enable JDA-NAS! GC pauses may cause your bot to stutter during playback.", e)
5453
}
5554
} else {
5655
log.warn("This system and architecture appears to not support native audio sending! "

0 commit comments

Comments
 (0)