diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index d3a1d2d4f7..bc2eb8772e 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -927,8 +927,11 @@ class RunQueue: | |||
927 | return retval | 927 | return retval |
928 | 928 | ||
929 | def execute_runqueue(self): | 929 | def execute_runqueue(self): |
930 | # Catch unexpected exceptions and ensure we exit when an error occurs, not loop. | ||
930 | try: | 931 | try: |
931 | return self._execute_runqueue() | 932 | return self._execute_runqueue() |
933 | except bb.runqueue.TaskFailure: | ||
934 | raise | ||
932 | except: | 935 | except: |
933 | logger.error("An uncaught exception occured in runqueue, please see the failure below:") | 936 | logger.error("An uncaught exception occured in runqueue, please see the failure below:") |
934 | self.state = runQueueComplete | 937 | self.state = runQueueComplete |