KEYCLOAK-18091 Fail session loading when interrupted
This commit is contained in:
parent
f5123cb51b
commit
bfb134a6ce
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ public abstract class CacheInitializer {
|
||||||
Thread.sleep(1000);
|
Thread.sleep(1000);
|
||||||
} catch (InterruptedException ie) {
|
} catch (InterruptedException ie) {
|
||||||
log.error("Interrupted", ie);
|
log.error("Interrupted", ie);
|
||||||
|
throw new RuntimeException("Loading sessions failed", ie);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
startLoading();
|
startLoading();
|
||||||
|
|
Loading…
Reference in a new issue