private void handleProxyRequestError(Throwable error) {
        log.warn("Can't send request to origin: {}", error.getMessage());
        respond(HttpStatus.BAD_GATEWAY, "deployment responded with error");
    }
Called when proxy failed to send request to the origin.
server/src/main/java/com/epam/aidial/core/server/controller/DeploymentFeatureController.java