@ -328,7 +323,7 @@ public class DMPs extends BaseController {
returnResponseEntity.status(HttpStatus.OK).body(newResponseItem<String>().status(ApiMessageCode.SUCCESS_MESSAGE).message("Successfully created DOI for Data Datamanagement Plan in question.").payload(zenodoDOI));
}catch(Exceptione){
logger.error(e.getMessage(),e);
returnResponseEntity.status(HttpStatus.BAD_REQUEST).body(newResponseItem<String>().status(ApiMessageCode.ERROR_MESSAGE).message("Failed to create DOI for the Data Management Plan."));
returnResponseEntity.status(HttpStatus.BAD_REQUEST).body(newResponseItem<String>().status(ApiMessageCode.ERROR_MESSAGE).message("Failed to create DOI for the Data Management Plan: " +e.getMessage()));