diff options
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-x | bitbake/bin/bitbake-worker | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake-worker b/bitbake/bin/bitbake-worker index c8eb65567f..bf96207edc 100755 --- a/bitbake/bin/bitbake-worker +++ b/bitbake/bin/bitbake-worker | |||
@@ -418,7 +418,11 @@ class BitbakeWorker(object): | |||
418 | if self.queue.startswith(b"<" + item + b">"): | 418 | if self.queue.startswith(b"<" + item + b">"): |
419 | index = self.queue.find(b"</" + item + b">") | 419 | index = self.queue.find(b"</" + item + b">") |
420 | while index != -1: | 420 | while index != -1: |
421 | func(self.queue[(len(item) + 2):index]) | 421 | try: |
422 | func(self.queue[(len(item) + 2):index]) | ||
423 | except pickle.UnpicklingError: | ||
424 | workerlog_write("Unable to unpickle data: %s\n" % ":".join("{:02x}".format(c) for c in self.queue)) | ||
425 | raise | ||
422 | self.queue = self.queue[(index + len(item) + 3):] | 426 | self.queue = self.queue[(index + len(item) + 3):] |
423 | index = self.queue.find(b"</" + item + b">") | 427 | index = self.queue.find(b"</" + item + b">") |
424 | 428 | ||