Merge "Defend agains exceptions in application initialisation"

This commit is contained in:
Zuul 2019-03-28 19:24:14 +00:00 committed by Gerrit Code Review
commit de1606d390
1 changed files with 5 additions and 2 deletions

View File

@ -112,8 +112,11 @@ class Datapath(object):
self.write_datapath_allocation()
for app in self.apps.values():
app.initialize()
for name, app in self.apps.items():
try:
app.initialize()
except Exception:
LOG.exception('Failed to initialize %s (%s)', name, app)
for edge in self._layout.edges:
self._install_edge(edge)