diff --git a/GitTfs/Program.cs b/GitTfs/Program.cs index 00915da0..c1d31fd9 100644 --- a/GitTfs/Program.cs +++ b/GitTfs/Program.cs @@ -55,6 +55,10 @@ namespace Sep.Git.Tfs e = e.InnerException; while (e != null) { + var gitCommandException = e as GitCommandException; + if (gitCommandException != null) + Console.WriteLine("error running command: " + gitCommandException.Process.StartInfo.FileName + " " + gitCommandException.Process.StartInfo.Arguments); + Console.WriteLine(e.Message); e = e.InnerException; }