Log the full exception when the recorder fails to setup (#47770)

This commit is contained in:
J. Nick Koston
2021-03-11 19:52:04 -10:00
committed by GitHub
parent 7f60edd7e7
commit 33c4eb3434

View File

@@ -400,7 +400,7 @@ class Recorder(threading.Thread):
migration.migrate_schema(self)
self._setup_run()
except Exception as err: # pylint: disable=broad-except
_LOGGER.error(
_LOGGER.exception(
"Error during connection setup to %s: %s (retrying in %s seconds)",
self.db_url,
err,