summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEdoardo La Greca2025-08-05 16:25:55 +0200
committerEdoardo La Greca2025-08-05 16:25:55 +0200
commite694b10dc1478195b65e6f1a900cb248b750ebc1 (patch)
treef413bd1bf69f483a4122784523608511f43b6a70 /src
parent195e1bbd15cf5faf56a70f4965ee0dd463ad8869 (diff)
add reason to exception message in FailedAuthenticationException
Diffstat (limited to 'src')
-rw-r--r--src/main/kotlin/FailedAuthenticationException.kt2
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