Make datasource creation failure a non-fatal error
Previously, if a datasource failed to startup, Congress would fail to startup too. This change allows Congress to startup, even if one or more of the datasources does not. Closes-Bug: 1671344 Change-Id: I95aeb6a0c180ed177f59e129b4330748e459275e
This commit is contained in:
parent
7c879e5354
commit
f122f1a616
|
@ -159,7 +159,6 @@ def create_datasources(bus):
|
|||
"clean up stale datasources in DB.")
|
||||
sys.exit(1)
|
||||
except Exception:
|
||||
LOG.exception("datasource %s creation failed.", ds.name)
|
||||
raise
|
||||
|
||||
LOG.exception("datasource %s creation failed. %s service may not "
|
||||
"be running.", ds.name, ds.driver)
|
||||
return services
|
||||
|
|
Loading…
Reference in New Issue