diff --git a/doozerlib/runtime.py b/doozerlib/runtime.py index 0f1db9344..e59fbcb05 100644 --- a/doozerlib/runtime.py +++ b/doozerlib/runtime.py @@ -387,8 +387,8 @@ def initialize(self, mode='images', clone_distgits=True, try: self.db = dblib.DB(self, self.datastore) - except: - self.logger.warning('Cannot connect to the DB') + except Exception as err: + self.logger.warning('Cannot connect to the DB: %s\n%s', str(err), traceback.format_exc()) self.logger.info(f'Initial execution (cwd) directory: {os.getcwd()}')