summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/utils
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2017-02-21 17:12:35 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-04 23:18:18 +0000
commitaad85050d7ff1ef293cae786103ba06f78cc505a (patch)
tree0a633d8a92c15c57d0a517de20b2ca43aa34e4be /scripts/lib/wic/utils
parentee860b3bf5117ef4b01530d336dd9c4e0d7b5550 (diff)
downloadpoky-aad85050d7ff1ef293cae786103ba06f78cc505a.tar.gz
wic: raise WicError instead of calling logger.error
Replaced forgotten calls of logger.error with raising WicError exception. Otherwise errors will be ignored. (From OE-Core rev: 7a5156092699593903a4bedb4cb23cc6e42ea62e) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/utils')
-rw-r--r--scripts/lib/wic/utils/misc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/wic/utils/misc.py b/scripts/lib/wic/utils/misc.py
index 216ab7b6ce..c941112c63 100644
--- a/scripts/lib/wic/utils/misc.py
+++ b/scripts/lib/wic/utils/misc.py
@@ -136,7 +136,7 @@ def exec_native_cmd(cmd_and_args, native_sysroot, catch=3, pseudo=""):
136 else: 136 else:
137 msg += "Wic failed to find a recipe to build native %s. Please "\ 137 msg += "Wic failed to find a recipe to build native %s. Please "\
138 "file a bug against wic.\n" % prog 138 "file a bug against wic.\n" % prog
139 logger.error(msg) 139 raise WicError(msg)
140 140
141 return ret, out 141 return ret, out
142 142