From d7c859c2f4379ebaa2c7e17a5938c52a0f51bb1c Mon Sep 17 00:00:00 2001 From: Andy Doan Date: Mon, 24 Aug 2015 11:40:57 -0500 Subject: more verbose error on which repo hit the exception Change-Id: I8bf1f6c7bea26f4a5ad61d283aa8a7065b8f1d27 --- apps/patchwork/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/patchwork/utils.py b/apps/patchwork/utils.py index 13bd995..e52f6d7 100644 --- a/apps/patchwork/utils.py +++ b/apps/patchwork/utils.py @@ -234,7 +234,7 @@ def _run(args, cwd=None, timeout=None, stdout=False): subprocess.check_call( args, cwd=cwd, stdout=DEVNULL, stderr=DEVNULL) except subprocess.CalledProcessError: - raise GitException('Failed to run ' + ' '.join(args)) + raise GitException('Failed to run from(%s):' % cwd + ' '.join(args)) def _smart_pull(root, timeout): -- cgit v1.2.3