diff options
Diffstat (limited to 'src/buildtool/execution_engine/executor')
-rw-r--r-- | src/buildtool/execution_engine/executor/executor.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/buildtool/execution_engine/executor/executor.hpp b/src/buildtool/execution_engine/executor/executor.hpp index d21346a0..d46c290b 100644 --- a/src/buildtool/execution_engine/executor/executor.hpp +++ b/src/buildtool/execution_engine/executor/executor.hpp @@ -325,10 +325,10 @@ class ExecutorImpl { if (has_err or has_out) { logger.Emit(LogLevel::Info, [&] { using namespace std::string_literals; - auto message = - (has_err and has_out ? "Stdout and stderr"s - : has_out ? "Stdout"s : "Stderr"s) + - " of command: "; + auto message = (has_err and has_out ? "Stdout and stderr"s + : has_out ? "Stdout"s + : "Stderr"s) + + " of command: "; message += nlohmann::json(command).dump(); if (response->HasStdOut()) { message += "\n" + response->StdOut(); |