From f4e263eee9f19435f9465e3918d23d4148992ba9 Mon Sep 17 00:00:00 2001 From: silag Date: Mon, 25 Mar 2024 14:52:13 +0200 Subject: [PATCH] removed silent fail when initializing bindings --- .../protege/webprotege/ipc/impl/RabbitMqConfiguration.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/edu/stanford/protege/webprotege/ipc/impl/RabbitMqConfiguration.java b/src/main/java/edu/stanford/protege/webprotege/ipc/impl/RabbitMqConfiguration.java index a4cea42..383d97c 100644 --- a/src/main/java/edu/stanford/protege/webprotege/ipc/impl/RabbitMqConfiguration.java +++ b/src/main/java/edu/stanford/protege/webprotege/ipc/impl/RabbitMqConfiguration.java @@ -167,6 +167,7 @@ public List eventsBindings(FanoutExchange fanoutExchange, Queue eventsQ } } catch (IOException | TimeoutException e) { logger.error("Error initialize bindings", e); + throw new RuntimeException("Error initialize bindings", e); } @@ -190,6 +191,7 @@ public void createBindings() { } catch (IOException |TimeoutException e) { logger.error("Error initialize bindings", e); + throw new RuntimeException("Error initialize bindings", e); } }