add dump in middle of read loop

This commit is contained in:
Paul Trowbridge 2018-08-20 12:04:05 -04:00
parent 3ae5db137e
commit a15e5e5d49

View File

@ -180,6 +180,7 @@ namespace test
catch (Exception e) { catch (Exception e) {
Console.Write(Environment.NewLine); Console.Write(Environment.NewLine);
Console.Write(e.Message); Console.Write(e.Message);
System.IO.File.WriteAllText(@"C:\Users\ptrowbridge\Downloads\runner_error.sql",sql);
ibmc.Close(); ibmc.Close();
pgt.Rollback(); pgt.Rollback();
pgc.Close(); pgc.Close();