Skip to content

Commit

Permalink
More auth logs (#512)
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillPamPam authored Jun 22, 2024
1 parent e37cbb4 commit 1be01ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/kotlin/io/emeraldpay/dshackle/auth/AuthRpc.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1be01ab

Please sign in to comment.