Commit f8f68d81 authored by Tristan Gingold's avatar Tristan Gingold improve error message in case of fetch error.

parent 8bdf0bf6
...@@ -91,7 +91,7 @@ class Commands(Action): ...@@ -91,7 +91,7 @@ class Commands(Action):
assert module.source == 'gitsm' assert module.source == 'gitsm'
result = self.gitsm_backend.fetch(module) result = self.gitsm_backend.fetch(module)
if result is False: if result is False:
raise Exception("Unable to fetch module %s", str(module.url)) raise Exception("Unable to fetch module {}".format(module.url))
module.parse_manifest() module.parse_manifest()
for m in module.modules: for m in module.modules:
new_modules.extend(module.modules[m]) new_modules.extend(module.modules[m])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment