Due to the internal event processing, this excepting handler usually raises an
Empty error, masking the underlying failure. Ensure the original exception is
raised.
(Bitbake rev:
7d548568a55adfe84a976f2a549995e42da1afef)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
server.addcooker(cooker)
server.saveConnectionDetails()
- except:
+ except Exception as e:
+ exc_info = sys.exc_info()
while True:
try:
import queue
break
if isinstance(event, logging.LogRecord):
logger.handle(event)
- raise
+ raise exc_info[1], None, exc_info[2]
server.detach()
# Should no longer need to ever reference cooker