This is an automated email from the ASF dual-hosted git repository. japetrsn pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/openwhisk-package-cloudant.git
The following commit(s) were added to refs/heads/master by this push: new a1096a6 exit with failure for db and redis connection errors on startup (#214) a1096a6 is described below commit a1096a6f01e66eae871d732986098c30fe16dd7a Author: Jason Peterson <jason...@us.ibm.com> AuthorDate: Tue Sep 10 14:17:57 2019 -0400 exit with failure for db and redis connection errors on startup (#214) --- provider/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/provider/app.js b/provider/app.js index ad37994..1fe48c0 100644 --- a/provider/app.js +++ b/provider/app.js @@ -241,7 +241,8 @@ function init(server) { } }) .catch(err => { - logger.error(method, 'an error occurred creating database:', err); + logger.error(method, 'The following connection error occurred:', err); + process.exit(1); }); }