diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-12-06 12:15:09 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-12-06 14:16:32 +0100 |
commit | cd3807f3f3770528adb1a2c0526b5d88af0fe55c (patch) | |
tree | f04cef690e2bc9e3cc8aa51bd3e5d4584365bf6f /src/buildtool/execution_engine/executor/executor.hpp | |
parent | 7dfc5e80002b5d07e43b1f7ad76747be6da0651b (diff) | |
download | justbuild-cd3807f3f3770528adb1a2c0526b5d88af0fe55c.tar.gz |
executor: On failure to execute an action, also report which action it was
Failure to execute an action can be infrastructure problems, like failure to
reach the server, etc. However, it can also be an action timeout; in the latter
case, we want to know which action it was that did time out.
Diffstat (limited to 'src/buildtool/execution_engine/executor/executor.hpp')
-rw-r--r-- | src/buildtool/execution_engine/executor/executor.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buildtool/execution_engine/executor/executor.hpp b/src/buildtool/execution_engine/executor/executor.hpp index f2f1b880..6983a4ac 100644 --- a/src/buildtool/execution_engine/executor/executor.hpp +++ b/src/buildtool/execution_engine/executor/executor.hpp @@ -578,6 +578,7 @@ class ExecutorImpl { if (not response) { logger.Emit(LogLevel::Trace, "response is empty"); + PrintError(logger, action, progress); return false; } |