From d218b6ac2be82fe4c915cf2b2ed726ddb7467880 Mon Sep 17 00:00:00 2001 From: skshetry <18718008+skshetry@users.noreply.github.com> Date: Tue, 2 Jan 2024 20:40:51 +0545 Subject: [PATCH] import-db: simplify error message (#10214) --- dvc/database/sqla.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dvc/database/sqla.py b/dvc/database/sqla.py index 1487257aa..6a2486672 100644 --- a/dvc/database/sqla.py +++ b/dvc/database/sqla.py @@ -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