]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bitbake: uievent: add error to registerEventHandler return
authorEd Bartosh <ed.bartosh@linux.intel.com>
Thu, 31 Dec 2015 16:42:14 +0000 (18:42 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 6 Jan 2016 15:27:34 +0000 (15:27 +0000)
commit4e0de6eca23488dc6f334ef28453b46c046888af
treeef36ab255d51578e616c6e8178ae1422bee89020
parent01419d5565a5e3762ec4a2a382f2099683615e52
bitbake: uievent: add error to registerEventHandler return

Current code throws Exception("Could not register UI event handler")
if event handler can't be registered. The real reason of this is that
cooker is in busy state. Error message lacks information about this.

Added error message to the return value of registerEventHandler.
Included returned error message into the log message and exception
text.

(Bitbake rev: 07de1ca7d57dcd0cc37406feae2949da12a3fa7a)

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/server/xmlrpc.py
bitbake/lib/bb/ui/uievent.py