try {
connector.apply(addUserAgent(Stages.process(request, requestProcessingRoot), connector.getName()), connectorCallback);
} catch (AbortException aborted) {
connectorCallback.response(aborted.getAbortResponse());
} catch (Throwable throwable) {
connectorCallback.failure(throwable);
}
}
});
}