From 3d9a145965b6c98f652a19520e9b4d9c62e46eb5 Mon Sep 17 00:00:00 2001 From: Christian Kandeler Date: Fri, 18 Jul 2014 17:40:19 +0200 Subject: More error message fine-tuning. - Make sure errors are not overwritten in the executor. - Do not report a process result for canceled processes. Such bogus errors currently spam the output, making it difficult to find the actual error that caused us to cancel the process in the first place. Change-Id: I76d724d084532fbce243bf180d955d6f34ac0a91 Reviewed-by: Joerg Bornemann --- src/lib/corelib/buildgraph/executor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/corelib/buildgraph/executor.cpp') diff --git a/src/lib/corelib/buildgraph/executor.cpp b/src/lib/corelib/buildgraph/executor.cpp index f6066e6ec..8ce3203b7 100644 --- a/src/lib/corelib/buildgraph/executor.cpp +++ b/src/lib/corelib/buildgraph/executor.cpp @@ -639,7 +639,7 @@ void Executor::doSanityChecks() void Executor::handleError(const ErrorInfo &error) { - m_error = error; + m_error.append(error.toString()); if (m_processingJobs.isEmpty()) finish(); else -- cgit v1.2.3