KEYCLOAK-709 ResourceAdminManager.logoutApplication shouldn't immediatelly fail with RuntimeException
This commit is contained in:
parent
4b254475da
commit
95521e8a95
1 changed files with 2 additions and 1 deletions
|
@ -242,7 +242,8 @@ public class ResourceAdminManager {
|
|||
try {
|
||||
response = request.body(MediaType.TEXT_PLAIN_TYPE, token).post(UserStats.class);
|
||||
} catch (Exception e) {
|
||||
throw new RuntimeException(e);
|
||||
logger.warn("Logout for application '" + resource.getName() + "' failed", e);
|
||||
return false;
|
||||
}
|
||||
try {
|
||||
boolean success = response.getStatus() == 204;
|
||||
|
|
Loading…
Reference in a new issue