From e694b10dc1478195b65e6f1a900cb248b750ebc1 Mon Sep 17 00:00:00 2001 From: Edoardo La Greca Date: Tue, 5 Aug 2025 16:25:55 +0200 Subject: add reason to exception message in FailedAuthenticationException --- src/main/kotlin/FailedAuthenticationException.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main') diff --git a/src/main/kotlin/FailedAuthenticationException.kt b/src/main/kotlin/FailedAuthenticationException.kt index f437673..dcff7bd 100644 --- a/src/main/kotlin/FailedAuthenticationException.kt +++ b/src/main/kotlin/FailedAuthenticationException.kt @@ -3,4 +3,4 @@ * * @param reason A human-readable reason for which the authentication failed. */ -class FailedAuthenticationException(val reason: String) : Exception() \ No newline at end of file +class FailedAuthenticationException(val reason: String) : Exception("Authentication with remote host failed: $reason") \ No newline at end of file -- cgit v1.2.3