From 06834ed0fe5fab761872ae3669c190219012e00a Mon Sep 17 00:00:00 2001 From: Mariusz Date: Thu, 28 Feb 2019 22:52:11 +0100 Subject: [PATCH] Update py-collaborator-server.py --- web/py-collaborator/py-collaborator-server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/web/py-collaborator/py-collaborator-server.py b/web/py-collaborator/py-collaborator-server.py index cd2d7ab..d18ba16 100644 --- a/web/py-collaborator/py-collaborator-server.py +++ b/web/py-collaborator/py-collaborator-server.py @@ -301,6 +301,7 @@ def main(argv): config.update(json.loads(open(CONFIGURATION_FILE).read())) if not connectToDatabase(): + Logger.err('Could not connect to database: {}'.format(config['mysql-host'])) sys.exit(-1) initDatabase()