mirror of
https://github.com/frappe/bench.git
synced 2024-11-13 16:56:33 +00:00
[minor] better exception msg - Current branch of 'frappe' not in upstream
This commit is contained in:
parent
bbce981e96
commit
9e7248d11b
@ -98,7 +98,7 @@ def is_version_upgrade(bench='.', branch=None):
|
||||
upstream_version = get_upstream_version(frappe_dir, branch=branch)
|
||||
|
||||
if not upstream_version:
|
||||
raise Exception("Current branch not in upstream")
|
||||
raise Exception("Current branch of 'frappe' not in upstream")
|
||||
|
||||
local_version = get_major_version(get_current_version(frappe_dir))
|
||||
upstream_version = get_major_version(upstream_version)
|
||||
|
Loading…
Reference in New Issue
Block a user