More auth logs (#512)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user