Catched throwable in place of exception

This commit is contained in:
Luca Frosini 2019-09-24 17:06:40 +02:00
parent bd14e05621
commit dd414580f4
1 changed files with 2 additions and 2 deletions

View File

@ -95,8 +95,8 @@ public class ConnectorManager {
try { try {
User user = new User(); User user = new User();
user.read(changedUserName); user.read(changedUserName);
}catch (Exception ex) { }catch (Throwable tr) {
log.error("Error while contacting gCat. The old code will made the work", ex); log.error("Error while contacting gCat. The old code will made the work", tr);
CkanUser user = null; CkanUser user = null;
try{ try{
user = ckanClient.getUser(changedUserName); user = ckanClient.getUser(changedUserName);