diff --git a/alibuild_helpers/build.py b/alibuild_helpers/build.py index 4a2b99af..cbfe3454 100644 --- a/alibuild_helpers/build.py +++ b/alibuild_helpers/build.py @@ -524,9 +524,9 @@ def downloadTask(p): try: data = future.result() except Exception as exc: - print('%r generated an exception: %s' % (futurePackage, exc)) + raise RuntimeError("Error on fetching '%r'. Aborting." % futurePackage) else: - print('%r package updated: %s' % (futurePackage, data)) + debug('%r package updated: %s' % (futurePackage, data)) # Resolve the tag to the actual commit ref for p in buildOrder: