schemaObj.put(TITLE, policyTypeId);
return Mono.just(schemaObj.toString());
} catch (Exception e) {
- logger.error("Unexcpected response for policy type: {}", policyTypeResponse, e);
+ logger.error("Unexpected response for policy type: {}, exception: {}", policyTypeResponse, e.toString());
return Mono.error(e);
}
}