From 1be01ab3f98aea788ec349c39cdf1a4862522981 Mon Sep 17 00:00:00 2001 From: KirillPamPam Date: Sat, 22 Jun 2024 15:59:15 +0400 Subject: [PATCH] More auth logs (#512) --- src/main/kotlin/io/emeraldpay/dshackle/auth/AuthRpc.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/io/emeraldpay/dshackle/auth/AuthRpc.kt b/src/main/kotlin/io/emeraldpay/dshackle/auth/AuthRpc.kt index 43c880c7b..acccad5b4 100644 --- a/src/main/kotlin/io/emeraldpay/dshackle/auth/AuthRpc.kt +++ b/src/main/kotlin/io/emeraldpay/dshackle/auth/AuthRpc.kt @@ -31,10 +31,10 @@ class AuthRpc( .build() }.onErrorResume { if (it is StatusException) { - log.error(it.message) + log.error("Error during auth - ${it.message}") Mono.error(it) } else { - val message = "Internal error: ${it.message}" + val message = "Error during auth - Internal error: ${it.message}" log.error(message) Mono.error( Status.INTERNAL