summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--classes/base.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index aed927404a..598a7bb77f 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -620,6 +620,9 @@ python base_do_fetch() {
except bb.fetch.NoMethodError:
(type, value, traceback) = sys.exc_info()
raise bb.build.FuncFailed("No method: %s" % value)
+ except bb.MalformedUrl:
+ (type, value, traceback) = sys.exc_info()
+ raise bb.build.FuncFailed("Malformed URL: %s" % value)
try:
bb.fetch.go(localdata)