if (productionMode) {
Pipeline exceptionPipeline = getWebxConfiguration().getExceptionPipeline();
if (exceptionPipeline == null) {
log.debug("No exceptionPipeline configured in <webx-configuration>.");
errorHandler = new SendErrorHandler();
} else {
errorHandler = new PipelineErrorHandler(exceptionPipeline);
}
}