mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
Add logger in getUserInstances try-catch
This commit is contained in:
parent
4ed62af484
commit
fe86558d72
1 changed files with 2 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue