diff --git a/build/Program.cs b/build/Program.cs index daf46061..3ab6055e 100644 --- a/build/Program.cs +++ b/build/Program.cs @@ -265,6 +265,6 @@ static async Task GetGitOutput(string command, string args) } catch (Exception ex) { - throw new Exception($"Git command failed: git {command} {args}\n{ex.Message}"); + throw new Exception($"Git command failed: git {command} {args}\n{ex.Message}", ex); } }