Improve an error message in stage.py (#23737)
This commit is contained in:
parent
2ca58e91d6
commit
35dd474473
1 changed files with 2 additions and 1 deletions
|
@ -504,7 +504,8 @@ def print_errors(errors):
|
|||
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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue