another minor fix on getVREFoldersId when user is new
This commit is contained in:
parent
9b1c436756
commit
7d43b96e11
|
@ -186,12 +186,12 @@ public class StorageHubServiceUtil {
|
|||
try {
|
||||
List<? extends Item> list = wsclient.getVreFolders("hl:accounting");
|
||||
toReturn =list.iterator().next().getParentId();
|
||||
} catch (Exception e) {
|
||||
_log.info("This user has no VRE Folders", e);
|
||||
} catch (java.util.NoSuchElementException ex) {
|
||||
_log.info("This user has no VRE Folders");
|
||||
return null;
|
||||
}
|
||||
}catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
_log.warn("Could not load VREFolders id" + e.getMessage());
|
||||
}
|
||||
return toReturn;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue