diff --git a/modules/dcache/src/main/java/org/dcache/services/ssh2/PcellsCommand.java b/modules/dcache/src/main/java/org/dcache/services/ssh2/PcellsCommand.java index 8c7295bfff8..e140db98db1 100644 --- a/modules/dcache/src/main/java/org/dcache/services/ssh2/PcellsCommand.java +++ b/modules/dcache/src/main/java/org/dcache/services/ssh2/PcellsCommand.java @@ -15,6 +15,7 @@ import java.util.concurrent.Executors; import diskCacheV111.admin.UserAdminShell; +import diskCacheV111.util.TimeoutCacheException; import dmg.cells.applets.login.DomainObjectFrame; import dmg.cells.nucleus.CellEndpoint; @@ -114,6 +115,8 @@ public void run() in.close(); } catch (IOException ignored) { } + } catch (TimeoutCacheException e) { + result = null; } catch (Exception ae) { result = ae; }