Skip to content

Commit

Permalink
import-db: simplify error message (iterative#10214)
Browse files Browse the repository at this point in the history
  • Loading branch information
skshetry authored Jan 2, 2024
1 parent 041ea17 commit d218b6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dvc/database/sqla.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ def test_connection(self, onerror: Optional[Callable[[], Any]] = None) -> None:
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
Expand Down

0 comments on commit d218b6a

Please sign in to comment.