diff --git a/homeassistant/components/recorder/__init__.py b/homeassistant/components/recorder/__init__.py index 333d955ab63..f9dde1f17c9 100644 --- a/homeassistant/components/recorder/__init__.py +++ b/homeassistant/components/recorder/__init__.py @@ -824,8 +824,7 @@ class Recorder(threading.Thread): return migration.get_schema_version(self) except Exception as err: # pylint: disable=broad-except _LOGGER.exception( - "Error during connection setup to %s: %s (retrying in %s seconds)", - self.db_url, + "Error during connection setup: %s (retrying in %s seconds)", err, self.db_retry_wait, )