commit | 9bf9a725d250afffd08ea0dd65ab9224ae2633b6 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sun Apr 11 16:27:27 2021 +1200 |
committer | Simon Glass <sjg@chromium.org> | Thu Apr 29 03:23:39 2021 -0700 |
tree | b46978981e5843ffb9f7b6754ed7d9788e80ccc0 | |
parent | a3d0144595980b19cd2974ba294a5be5c200cfab [diff] |
buildman: Handle exceptions in threads gracefully There have been at least a few cases where an exception has occurred in a thread and resulted in buildman hanging: running out of disk space and getting a unicode error. Handle these by collecting a list of exceptions, printing them out and reporting failure if any are found. Add a test for this. Signed-off-by: Simon Glass <sjg@chromium.org>