Catched throwable in place of exception
This commit is contained in:
parent
bd14e05621
commit
dd414580f4
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue