if (stream instanceof ServletResponse.ServletStream && ((ServletResponse.ServletStream) stream).response().isCommitted()) {
LOGGER.debug("Request {} has been aborted by client, error is '{}'", request, e.getMessage());
return;
}
LOGGER.error("Fail to process request " + request, e);
<BUG>sendErrors(response, 500, new Errors().add(Message.of("An error has occurred. Please contact your administrator")));
</BUG>
}
}
@CheckForNull

if (stream instanceof ServletResponse.ServletStream && ((ServletResponse.ServletStream) stream).response().isCommitted()) {
LOGGER.debug("Request {} has been aborted by client, error is '{}'", request, e.getMessage());
return;
}
LOGGER.error("Fail to process request " + request, e);
sendErrors(response, 500, singletonList("An error has occurred. Please contact your administrator"));
}
}
@CheckForNull
