commit | 1bb2a285a8bf20a24b3002cf7e32ad41225e516e | [log] [tgz] |
---|---|---|
author | Thomas Vachuska <tom@opennetworking.org> | Tue Oct 30 12:15:05 2018 -0700 |
committer | Thomas Vachuska <tom@opennetworking.org> | Tue Oct 30 20:10:50 2018 +0000 |
tree | f6d0735b7351d0ec8320b869a53600bd8eb6f4d0 | |
parent | a218d43062bd637e12f675251d6c4c6a82d35ceb [diff] |
Fixing issue with superfluous exception when installing apps. Change-Id: Ic802227afc0218ed1999a1509ea0aee62e1d52a3
diff --git a/core/store/dist/src/main/java/org/onosproject/store/app/DistributedApplicationStore.java b/core/store/dist/src/main/java/org/onosproject/store/app/DistributedApplicationStore.java index 1f0d028..3793099 100644 --- a/core/store/dist/src/main/java/org/onosproject/store/app/DistributedApplicationStore.java +++ b/core/store/dist/src/main/java/org/onosproject/store/app/DistributedApplicationStore.java
@@ -163,6 +163,9 @@ try { log.info("Sending bits for application {}", name); return toByteArray(getApplicationInputStream(name)); + } catch (ApplicationException e) { + log.warn("Bits for application {} are not available on this node yet", name); + return null; } catch (IOException e) { throw new StorageException(e); }