summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/spack/spack/stage.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/spack/spack/stage.py b/lib/spack/spack/stage.py
index 14413669f1..28feb05365 100644
--- a/lib/spack/spack/stage.py
+++ b/lib/spack/spack/stage.py
@@ -504,7 +504,8 @@ class Stage(object):
print_errors(errors)
self.fetcher = self.default_fetcher
- raise fs.FetchError(err_msg or 'All fetchers failed', None)
+ default_msg = 'All fetchers failed for {0}'.format(self.name)
+ raise fs.FetchError(err_msg or default_msg, None)
print_errors(errors)