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:
Luca Frosini 2016-11-17 16:41:13 +00:00
parent cfa9c0ed32
commit 14e35279bb
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}