In a service factory setting up the request fail handler is optional, and in case we don't specify a fail handler a default one will be used, the default response handler from domino-rest will just log the exception. we can override the default fail handler using DominoRestConfig.
DominoRestConfig.getInstance()
.setDefaultFailHandler(failedResponse -> {
//do something for a failed request that did not specify a fail handler.
});