Skip to content

Commit

Permalink
Avoid swallow exception
Browse files Browse the repository at this point in the history
  • Loading branch information
boubaker committed Jun 5, 2024
1 parent 68a0842 commit 346b2fb
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,11 @@ private void init(String entityType) {
for (OrganizationServiceInitializer listener : listeners_) {
try {
listener.init(this, entityType);
} catch (Exception ex) {
} catch (Exception e) {
LOG.warn("Failed start Organization Service {}, probably because of configuration error. Error occurs when initialize {}",
getClass().getName(),
listener.getClass().getName());
listener.getClass().getName(),
e);
}
}
}
Expand Down

0 comments on commit 346b2fb

Please sign in to comment.