Logging for ga (#698)

Adding a robustness change to call close on logger before process exit.
Also adding a designer.cs file needed by a script csproj that got missed out in previous checkin due to .gitignore entry.
This commit is contained in:
ranasaria
2018-09-25 17:26:22 -07:00
committed by GitHub
parent 41d0ef1814
commit 335e9fb38c
4 changed files with 202 additions and 1 deletions

View File

@@ -58,6 +58,10 @@ namespace Microsoft.SqlTools.ServiceLayer
Logger.WriteWithCallstack(TraceEventType.Critical, $"An unhandled exception occurred: {e}");
Environment.Exit(1);
}
finally
{
Logger.Close();
}
}
}
}