diff --git a/model/infinispan/src/main/java/org/keycloak/models/sessions/infinispan/initializer/CacheInitializer.java b/model/infinispan/src/main/java/org/keycloak/models/sessions/infinispan/initializer/CacheInitializer.java index 1932709c72..8740d7bf69 100644 --- a/model/infinispan/src/main/java/org/keycloak/models/sessions/infinispan/initializer/CacheInitializer.java +++ b/model/infinispan/src/main/java/org/keycloak/models/sessions/infinispan/initializer/CacheInitializer.java @@ -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();