Skip to content

Commit

Permalink
[DERCBOT-1193] Fix logging (#1784)
Browse files Browse the repository at this point in the history
  • Loading branch information
assouktim authored Nov 19, 2024
1 parent e7a9428 commit 3d8ae57
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions shared/src/main/kotlin/security/auth/CASAuthProvider.kt
Original file line number Diff line number Diff line change
Expand Up @@ -176,17 +176,15 @@ abstract class CASAuthProvider(vertx: Vertx) : SSOTockAuthProvider(vertx) {
rc.clearUser()
rc.session().destroy()
// note: below method has ability to redirect to custom error pages
logger.error("Upgrade to TockUser failed", it.cause)
handleUpgradeFailure(rc, it.code, it.cause)
}
}
}
} else {
rc.next()
}
}).failureHandler { rc ->
logger.error("Authentication failure", rc.failure())
handleUpgradeFailure(rc, 500, null)
}
})

with(verticle) {
router.get("$basePath/user").handler {
Expand Down

0 comments on commit 3d8ae57

Please sign in to comment.