From 496244ba57e0c7561644406aff47693265166700 Mon Sep 17 00:00:00 2001 From: Giulio Eulisse <10544+ktf@users.noreply.github.com> Date: Mon, 15 Feb 2021 14:36:58 +0100 Subject: [PATCH] Update build.py --- alibuild_helpers/build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: