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 {
User user = new User();
user.read(changedUserName);
}catch (Exception ex) {
log.error("Error while contacting gCat. The old code will made the work", ex);
}catch (Throwable tr) {
log.error("Error while contacting gCat. The old code will made the work", tr);
CkanUser user = null;
try{
user = ckanClient.getUser(changedUserName);