diff options
author | Edoardo La Greca | 2025-08-05 16:25:55 +0200 |
---|---|---|
committer | Edoardo La Greca | 2025-08-05 16:25:55 +0200 |
commit | e694b10dc1478195b65e6f1a900cb248b750ebc1 (patch) | |
tree | f413bd1bf69f483a4122784523608511f43b6a70 | |
parent | 195e1bbd15cf5faf56a70f4965ee0dd463ad8869 (diff) |
add reason to exception message in FailedAuthenticationException
-rw-r--r-- | src/main/kotlin/FailedAuthenticationException.kt | 2 |
1 files changed, 1 insertions, 1 deletions
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 |