Skip to content

Commit

Permalink
Removed the redundant log in BeanManagerNamingProxy
Browse files Browse the repository at this point in the history
- Finally I have found that it is logged in Soteria too.

Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
  • Loading branch information
dmatej committed Nov 14, 2022
1 parent 58c53ff commit e2d6e7c
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,7 @@ public Object handle(String name) throws NamingException {
LOG.log(DEBUG, e.getMessage(), e);
throw e;
} catch (Throwable t) {
BeanManagerException e = new BeanManagerException(t);
// it is here as a trace because some clients swallow exceptions.
LOG.log(DEBUG, e.getMessage(), e);
throw e;
throw new BeanManagerException(t);
}
}

Expand Down

0 comments on commit e2d6e7c

Please sign in to comment.