Add logger in getUserInstances try-catch

This commit is contained in:
Anthony Corbacho 2016-11-29 16:17:09 +09:00
parent 4ed62af484
commit fe86558d72

View file

@ -331,6 +331,8 @@ public class ZeppelinHubRepo implements NotebookRepo {
try {
instances = getUserInstances(zeppelinHubUserSession);
} catch (IOException e) {
LOG.warn("Couldnt find instances for the session {}, returning empty collection",
zeppelinHubUserSession);
// user not logged
//TODO(xxx): handle this case.
instances = Collections.emptyList();