Skip to content

Commit

Permalink
return full stacktrace as cause in loadtrack endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
topi314 committed Jan 29, 2025
1 parent cdc0a89 commit eaac192
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LavalinkServer/src/main/java/lavalink/server/util/util.kt
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ fun FriendlyException.Severity.toLavalink() = when (this) {
fun Exception.Companion.fromFriendlyException(e: FriendlyException) = Exception(
e.message,
Exception.Severity.fromFriendlyException(e.severity),
e.toString()
e.stackTraceToString()
)

fun AudioTrackEndReason.toLavalink() = when (this) {
Expand Down

0 comments on commit eaac192

Please sign in to comment.