bitbake: xmlrpc: client - remove fatal errors
authorAlexandru DAMIAN <alexandru.damian@intel.com>
Wed, 4 Jun 2014 14:47:02 +0000 (15:47 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 Jun 2014 09:32:54 +0000 (10:32 +0100)
commitf98a855e4bfcb3503ba44f8ea59b39b2810b5478
tree3274c3c7963fd12ed737d9754aea3310bc82b4a4
parent5f7ce570fd304bc6268beb9f728f0817e8b2871c
bitbake: xmlrpc: client - remove fatal errors

When we use the XMLRPC client API to connect to a bitbake server,
we want to receive errors from the API instead of having the
API exiting without warning.

Thus the "bb.fatal" calls have been replaced with "bb.warn" calls,
and we re-raise the original exception for handling by the
original caller.

The bitbake starting script has been modified to properly test
for failures in calling the client API and handle them.

Additional error handling added in the client, as to prevent
fatal crashes.

(Bitbake rev: eb63f08c33644f64752aaae2146a000956ce894a)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/bin/bitbake
bitbake/lib/bb/server/xmlrpc.py
bitbake/lib/bb/ui/uievent.py