mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-19 01:25:40 -05:00
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:
@@ -61,7 +61,11 @@ namespace Microsoft.SqlTools.ResourceProvider
|
||||
catch (Exception e)
|
||||
{
|
||||
Logger.WriteWithCallstack(TraceEventType.Critical, $"An unhandled exception occurred: {e}");
|
||||
Environment.Exit(1);
|
||||
Environment.Exit(1);
|
||||
}
|
||||
finally
|
||||
{
|
||||
Logger.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user