1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-31 00:39:46 +00:00

bitbake: bitbake: Handle BBMainException

Some error messages were lost because BBMainException was
inherited from bb.BBHandledException. When bb.BBHandledException
is processed error messages are not printed as they suppose to
be printed before raising this exception.

Stopped to inherit BBMainException from bb.BBHandledException.
Handled BBMainException in bin/bitbake and printed error message
to the stderr.

(Bitbake rev: c8e2a40c4e9865ebef9936d23644f2602a5c90f5)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ed Bartosh
2015-04-28 14:27:34 +03:00
committed by Richard Purdie
parent 74dc93651f
commit 47e2dbd89a
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ from bb import cookerdata
__version__ = "1.27.0"
logger = logging.getLogger("BitBake")
class BBMainException(bb.BBHandledException):
class BBMainException(Exception):
pass
def get_ui(config):