mirror of
https://github.com/frappe/bench.git
synced 2025-01-10 09:02:10 +00:00
[minor] dont show CommandFailedError trace
This commit is contained in:
parent
3fe7392fa0
commit
786b997dc3
@ -498,7 +498,8 @@ def run_frappe_cmd(*args, **kwargs):
|
|||||||
return_code = p.wait()
|
return_code = p.wait()
|
||||||
|
|
||||||
if return_code > 0:
|
if return_code > 0:
|
||||||
raise CommandFailedError(args)
|
sys.exit(return_code)
|
||||||
|
#raise CommandFailedError(args)
|
||||||
|
|
||||||
def get_frappe_cmd_output(*args, **kwargs):
|
def get_frappe_cmd_output(*args, **kwargs):
|
||||||
bench_path = kwargs.get('bench_path', '.')
|
bench_path = kwargs.get('bench_path', '.')
|
||||||
|
Loading…
Reference in New Issue
Block a user