From 19f932513fb9bcc18ddb39a152f5b410fbf2e271 Mon Sep 17 00:00:00 2001 From: Aradhya Date: Sun, 15 May 2022 23:20:15 +0530 Subject: [PATCH] feat: verbose error messages --- bench/utils/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bench/utils/__init__.py b/bench/utils/__init__.py index 0dbe5a08..4fd15d33 100644 --- a/bench/utils/__init__.py +++ b/bench/utils/__init__.py @@ -70,7 +70,7 @@ def is_valid_frappe_branch(frappe_path:str, frappe_branch:str): res = g.ls_remote("--heads", "--tags", frappe_path, frappe_branch) if not res: raise InvalidRemoteException( - f"Invalid branch: {frappe_branch} for the remote {frappe_path}" + f"Invalid branch or tag: {frappe_branch} for the remote {frappe_path}" ) except git.exc.GitCommandError: raise InvalidRemoteException(f"Invalid frappe path: {frappe_path}")