Added logfile name to crash message

This commit is contained in:
Kenneth Skovhede
2025-02-25 21:54:10 +01:00
parent 616d8b75a7
commit b1fca9c3aa
+1 -1
View File
@@ -249,7 +249,7 @@ public static class ProcessHelper
await p.WaitForExitAsync(cancellationToken).ConfigureAwait(false);
if (codeIsError(p.ExitCode))
throw new Exception($"Execution of {executable} gave error code {p.ExitCode}");
throw new Exception($"Execution of {executable} gave error code {p.ExitCode}, see log file {Path.Combine(logFolder, logFilename(p.Id, true))}");
await t1.ConfigureAwait(false);
await t2.ConfigureAwait(false);