From cd3807f3f3770528adb1a2c0526b5d88af0fe55c Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Fri, 6 Dec 2024 12:15:09 +0100 Subject: 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. --- src/buildtool/execution_engine/executor/executor.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/buildtool/execution_engine/executor/executor.hpp') 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; } -- cgit v1.2.3