KEYCLOAK-709 ResourceAdminManager.logoutApplication shouldn't immediatelly fail with RuntimeException
This commit is contained in:
1 parent
4b254475da
commit
95521e8a95
1 file changed
+2
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user