@Override
 public void onError(Throwable ex) {
   super.onError(ex);
   logger.error("ResponseBodySubscriber error", ex);
   if (!exchange.isResponseStarted() && exchange.getStatusCode() < 500) {
     exchange.setStatusCode(500);
   }
 }
Example #2
0
 @Override
 public void onError(Throwable t) {
   super.onError(t);
   broadcastError(t);
 }