This is an automated email from the ASF dual-hosted git repository. tvb pushed a commit to branch aevri/win32_minimal in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 4d5ff563ff9880360bf79f755c6752b21586cd2b Author: Angelos Evripiotis <[email protected]> AuthorDate: Fri Oct 4 12:25:23 2019 +0100 TEMP: job: print detail on exception Since we're not properly propagating errors back to the main process yet, at least print problems out. --- src/buildstream/_scheduler/jobs/job.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/buildstream/_scheduler/jobs/job.py b/src/buildstream/_scheduler/jobs/job.py index 4aa7a11..daa5233 100644 --- a/src/buildstream/_scheduler/jobs/job.py +++ b/src/buildstream/_scheduler/jobs/job.py @@ -850,6 +850,8 @@ class ChildJob(): elapsed = datetime.datetime.now() - starttime detail = "An unhandled exception occured:\n\n{}".format(traceback.format_exc()) + print(detail) + self.message(MessageType.BUG, self.action_name, elapsed=elapsed, detail=detail, logfile=filename)
