Skip to content

Commit

Permalink
Tidying code
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Sweeney committed Nov 2, 2023
1 parent 5f52652 commit 62cf9a9
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,10 @@ public List<CircuitBreaker> checkTripped(SolrRequestType requestType) {
if (circuitBreaker.isTripped()) {
if (circuitBreaker.isDebugMode()) {
if (log.isInfoEnabled()) {
log.info("Circuit breaker {} has tripped: {}", circuitBreaker.getClass().getSimpleName(), circuitBreaker.getErrorMessage());
log.info(
"Circuit breaker {} has tripped: {}",
circuitBreaker.getClass().getSimpleName(),
circuitBreaker.getErrorMessage());
}
} else {
if (triggeredCircuitBreakers == null) {
Expand Down

0 comments on commit 62cf9a9

Please sign in to comment.