diff options
-rw-r--r-- | src/lib/corelib/buildgraph/executor.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/corelib/buildgraph/executor.cpp b/src/lib/corelib/buildgraph/executor.cpp index 1b37c17d1..024decbc7 100644 --- a/src/lib/corelib/buildgraph/executor.cpp +++ b/src/lib/corelib/buildgraph/executor.cpp @@ -818,7 +818,8 @@ void Executor::onJobFinished(const qbs::ErrorInfo &err) fullWarning.prepend(Tr::tr("Ignoring the following errors on user request:")); m_logger.printWarning(fullWarning); } else { - m_error = err; + if (!m_error.hasError()) + m_error = err; // All but the first one could be due to canceling. } } |