import-db: simplify error message (#10214)

This commit is contained in:
skshetry
2024-01-02 20:40:51 +05:45
committed by GitHub
parent 041ea17233
commit d218b6ac2b
+2 -2
View File
@@ -42,8 +42,8 @@ class SQLAlchemyClient:
if callable(onerror):
onerror()
logger.exception(
"dvc was unable to connect to the specified database. "
"Please check your database credentials and try again.",
"Could not connect to the database. "
"Check your database credentials and try again.",
exc_info=False,
)
raise DvcException("The database returned the following error") from exc