minor log fixes

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/ckan-util-library@129081 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2016-06-13 12:18:37 +00:00
parent 9562f2ce7b
commit ab63c6c83a
1 changed files with 4 additions and 4 deletions

View File

@ -122,7 +122,7 @@ public class CKanUtilsImpl implements CKanUtilsInterface{
break;
}
}catch(Exception e){
logger.error("Unable to retrieve user with api key " + apiKey);
logger.error("Unable to retrieve user with api key " + apiKey, e);
}
logger.debug("User retrieved");
@ -239,7 +239,7 @@ public class CKanUtilsImpl implements CKanUtilsInterface{
break;
}
}catch(Exception e){
logger.error("Unable to retrieve user with name " + username);
logger.error("Unable to retrieve user with name " + username, e);
}
logger.debug("User id retrieved");
@ -392,7 +392,7 @@ public class CKanUtilsImpl implements CKanUtilsInterface{
return true;
}catch (Exception ex) {
logger.error("Error while trying to set private the dataset " + ex);
logger.error("Error while trying to set private the dataset ", ex);
}
}else
{
@ -408,7 +408,7 @@ public class CKanUtilsImpl implements CKanUtilsInterface{
return true;
}catch (Exception ex) {
logger.error("Error while trying to set public the dataset " + ex);
logger.error("Error while trying to set public the dataset ", ex);
}
}
}