summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Doan <andy.doan@linaro.org>2015-08-24 11:40:57 -0500
committerAndy Doan <andy.doan@linaro.org>2015-08-24 11:40:57 -0500
commitd7c859c2f4379ebaa2c7e17a5938c52a0f51bb1c (patch)
treed756c277118732efced3be88b629e21c146216f7
parentb94294445d8392ff0027b6b0c78998b0099a857b (diff)
downloadlinaro-patchmetrics-master.tar.gz
more verbose error on which repo hit the exceptionHEADmaster
Change-Id: I8bf1f6c7bea26f4a5ad61d283aa8a7065b8f1d27
-rw-r--r--apps/patchwork/utils.py2
1 files changed, 1 insertions, 1 deletions
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):