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:
Tim Hinrichs 2017-04-07 18:27:18 -07:00 committed by Eric Kao
parent 7c879e5354
commit f122f1a616
1 changed files with 2 additions and 3 deletions

View File

@ -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