More auth logs (#512)

This commit is contained in:
KirillPamPam
2024-06-22 15:59:15 +04:00
committed by GitHub
parent e37cbb4fee
commit 1be01ab3f9

View File

@@ -31,10 +31,10 @@ class AuthRpc(
.build() .build()
}.onErrorResume { }.onErrorResume {
if (it is StatusException) { if (it is StatusException) {
log.error(it.message) log.error("Error during auth - ${it.message}")
Mono.error(it) Mono.error(it)
} else { } else {
val message = "Internal error: ${it.message}" val message = "Error during auth - Internal error: ${it.message}"
log.error(message) log.error(message)
Mono.error( Mono.error(
Status.INTERNAL Status.INTERNAL