diff --git a/source/dub/internal/utils.d b/source/dub/internal/utils.d index 22e6244..4eb455a 100644 --- a/source/dub/internal/utils.d +++ b/source/dub/internal/utils.d @@ -198,7 +198,8 @@ Pid pid; pid = spawnShell(cmd, stdin, childStdout, childStderr, env, config); auto exitcode = pid.wait(); - enforce(exitcode == 0, "Command failed with exit code "~to!string(exitcode)); + enforce(exitcode == 0, "Command failed with exit code " + ~ to!string(exitcode) ~ ": " ~ cmd); } }