Skip to content

Commit

Permalink
Removing duplicate ReactorSession::closeAsync call in session-endpoin…
Browse files Browse the repository at this point in the history
…t error-handler. (#40667)
  • Loading branch information
anuchandy authored Jun 17, 2024
1 parent 4180276 commit d53f07c
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -658,10 +658,7 @@ private void handleError(Throwable error) {
final AmqpException exception = ((AmqpException) error);
final String errorCondition
= exception.getErrorCondition() != null ? exception.getErrorCondition().getErrorCondition() : "UNKNOWN";

condition = new ErrorCondition(Symbol.getSymbol(errorCondition), exception.getMessage());

closeAsync(exception.getMessage(), condition, true).subscribe();
} else {
condition = null;
}
Expand Down

0 comments on commit d53f07c

Please sign in to comment.