From: Richard Purdie Date: Thu, 12 May 2016 07:01:23 +0000 (+0100) Subject: cooker: Fix log message syntax X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7ed82bd1fe7bdd93b0614119c42eb218dc5d83e6;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git cooker: Fix log message syntax Ensure we pass the string parameter correctly. Signed-off-by: Richard Purdie --- diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py index b2187d7d5ff..fe6fc99c1fb 100644 --- a/lib/bb/cooker.py +++ b/lib/bb/cooker.py @@ -2161,7 +2161,7 @@ class CookerParser(object): self.error += 1 etype, value, tb = sys.exc_info() if hasattr(value, "recipe"): - logger.error('Unable to parse %s', value.recipe, + logger.error('Unable to parse %s' % value.recipe, exc_info=(etype, value, exc.traceback)) else: # Most likely, an exception occurred during raising an exception