Skip to content

Commit

Permalink
fix: cause info
Browse files Browse the repository at this point in the history
  • Loading branch information
cssxsh committed Jul 25, 2023
1 parent d9755b3 commit 2d3fffa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public sealed class AutoLoginEvent : BotEvent, ConsoleEvent, AbstractEvent() {
public val cause: Throwable
) : AutoLoginEvent() {
override fun toString(): String {
return "AutoLoginEvent.Failure(bot=${bot.id}, protocol=${bot.configuration.protocol}, message=${cause.message})"
return "AutoLoginEvent.Failure(bot=${bot.id}, protocol=${bot.configuration.protocol}, cause=${cause})"
}
}
}

0 comments on commit 2d3fffa

Please sign in to comment.