Added logs to better understanding what happen in case of failure
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134335 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
cfa9c0ed32
commit
14e35279bb
|
@ -142,7 +142,7 @@ public class EntityManager {
|
|||
@Path(EntityPath.RESOURCE_PATH_PART + "/{" + ID_PATH_PARAM + "}")
|
||||
public boolean deleteResource(@PathParam(ID_PATH_PARAM) String uuid)
|
||||
throws ResourceNotFoundException, Exception {
|
||||
logger.trace("requested resource deletion for id {}", uuid);
|
||||
logger.info("requested resource deletion for id {}", uuid);
|
||||
return entityManager.deleteResource(UUID.fromString(uuid));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue