summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/build.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/bitbake/lib/bb/build.py b/bitbake/lib/bb/build.py
index 23b6ee455f..cb2e75b145 100644
--- a/bitbake/lib/bb/build.py
+++ b/bitbake/lib/bb/build.py
@@ -398,7 +398,13 @@ exit $ret
398 398
399 progress = d.getVarFlag(func, 'progress') 399 progress = d.getVarFlag(func, 'progress')
400 if progress: 400 if progress:
401 logfile = create_progress_handler(func, progress, logfile, d) 401 try:
402 logfile = create_progress_handler(func, progress, logfile, d)
403 except:
404 from traceback import format_exc
405 logger.error("Failed to create progress handler")
406 logger.error(format_exc())
407 raise
402 408
403 fifobuffer = bytearray() 409 fifobuffer = bytearray()
404 def readfifo(data): 410 def readfifo(data):