From 33c4eb343419a55908f6951d8a37d31e78efdc51 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Thu, 11 Mar 2021 19:52:04 -1000 Subject: [PATCH] Log the full exception when the recorder fails to setup (#47770) --- homeassistant/components/recorder/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/recorder/__init__.py b/homeassistant/components/recorder/__init__.py index f8f95fd7ccc..12fb1b38c25 100644 --- a/homeassistant/components/recorder/__init__.py +++ b/homeassistant/components/recorder/__init__.py @@ -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,