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