Skip to content

Commit

Permalink
removed silent fail when initializing bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsilaghi committed Mar 25, 2024
1 parent f70fab6 commit f4e263e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ public List<Binding> eventsBindings(FanoutExchange fanoutExchange, Queue eventsQ
}
} catch (IOException | TimeoutException e) {
logger.error("Error initialize bindings", e);
throw new RuntimeException("Error initialize bindings", e);
}


Expand All @@ -190,6 +191,7 @@ public void createBindings() {

} catch (IOException |TimeoutException e) {
logger.error("Error initialize bindings", e);
throw new RuntimeException("Error initialize bindings", e);
}
}

Expand Down

0 comments on commit f4e263e

Please sign in to comment.