Don't log DB connection string on error (#61927)

This commit is contained in:
Paulus Schoutsen 2021-12-15 11:54:57 -08:00 committed by GitHub
parent 7db3246de4
commit 77829e397b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,
)