mirror of
https://github.com/frappe/bench.git
synced 2024-11-17 18:45:19 +00:00
feat: verbose error messages
This commit is contained in:
parent
cb2b0b0d7c
commit
19f932513f
@ -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}")
|
||||
|
Loading…
Reference in New Issue
Block a user