mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Log the full exception when the recorder fails to setup (#47770)
This commit is contained in:
parent
7f60edd7e7
commit
33c4eb3434
@ -400,7 +400,7 @@ class Recorder(threading.Thread):
|
|||||||
migration.migrate_schema(self)
|
migration.migrate_schema(self)
|
||||||
self._setup_run()
|
self._setup_run()
|
||||||
except Exception as err: # pylint: disable=broad-except
|
except Exception as err: # pylint: disable=broad-except
|
||||||
_LOGGER.error(
|
_LOGGER.exception(
|
||||||
"Error during connection setup to %s: %s (retrying in %s seconds)",
|
"Error during connection setup to %s: %s (retrying in %s seconds)",
|
||||||
self.db_url,
|
self.db_url,
|
||||||
err,
|
err,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user