KEYCLOAK-18091 Fail session loading when interrupted

This commit is contained in:
Hynek Mlnarik 2021-06-21 15:56:57 +02:00 committed by Hynek Mlnařík
parent f5123cb51b
commit bfb134a6ce

View file

@ -36,6 +36,7 @@ public abstract class CacheInitializer {
Thread.sleep(1000);
} catch (InterruptedException ie) {
log.error("Interrupted", ie);
throw new RuntimeException("Loading sessions failed", ie);
}
} else {
startLoading();