[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [craft] bin: Nicer error message
From: Hannah von Reth <null () kde ! org>
Date: 2018-02-02 23:23:41
Message-ID: E1ehkgH-0006W3-Hk () code ! kde ! org
[Download RAW message or body]
Git commit 94d0140d6721eada1995941a81c7e0b90de263e6 by Hannah von Reth.
Committed on 02/02/2018 at 23:23.
Pushed by vonreth into branch 'master'.
Nicer error message
M +3 -0 bin/craft.py
https://commits.kde.org/craft/94d0140d6721eada1995941a81c7e0b90de263e6
diff --git a/bin/craft.py b/bin/craft.py
index 2e761f78d..9877db0a7 100755
--- a/bin/craft.py
+++ b/bin/craft.py
@@ -91,6 +91,9 @@ def doExec(package, action, continueFlag=False):
CraftCore.debug.step("Action: %s for %s" % (action, package))
ret = package.instance.execute(action)
if not ret:
+ if action == "fetch-binary":
+ CraftCore.debug.step(f"{package} not found in cache")
+ return False
CraftCore.log.warning("Action: %s for %s FAILED" % (action, package))
return ret or continueFlag
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic