Skip to content

Commit 432e3ac

Browse files
committed
LT22418: Try more console debug for why fails in GH but not locally
Change-Id: Ia7544eeab066ef4af776eaba893f2a30e860fa6c
1 parent c0d68dc commit 432e3ac

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

Src/Utilities/pcpatrflex/DisambiguateInFLExDB/PCPatrInvoker.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ private void CreateBatchFile()
5959
sbBatchFile.Append(takeFileName);
6060
sbBatchFile.Append("\n");
6161
File.WriteAllText(BatchFile, sbBatchFile.ToString());
62+
Console.WriteLine("\nbatch file =");
63+
Console.WriteLine("=================================================");
64+
Console.Write(sbBatchFile.ToString());
65+
Console.WriteLine("=================================================");
6266
}
6367

6468
private string GetPcPatr64ExePath()
@@ -89,6 +93,10 @@ public void Invoke()
8993
process.WaitForExit();
9094
Console.WriteLine("\tAfter WaitForExit");
9195
string error = process.StandardError.ReadToEnd();
96+
Console.WriteLine("\nStdErr=");
97+
Console.WriteLine("=================================================");
98+
Console.Write(error);
99+
Console.WriteLine("=================================================");
92100
if (error.Contains("ERROR "))
93101
{
94102
Console.WriteLine("\tFailure");
@@ -147,6 +155,10 @@ private void CreateTakeFile()
147155
sbTake.Append("exit\n");
148156
File.WriteAllText(takeFile, sbTake.ToString());
149157
AndFile = Path.Combine(Path.GetTempPath(), "Invoker.and");
158+
Console.WriteLine("\ntake file =");
159+
Console.WriteLine("=================================================");
160+
Console.Write(sbTake.ToString());
161+
Console.WriteLine("=================================================");
150162
}
151163

152164
private void HandleRootGloss(StringBuilder sbTake)

0 commit comments

Comments
 (0)