mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-17 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:
@@ -58,6 +58,10 @@ namespace Microsoft.SqlTools.ServiceLayer
|
||||
Logger.WriteWithCallstack(TraceEventType.Critical, $"An unhandled exception occurred: {e}");
|
||||
Environment.Exit(1);
|
||||
}
|
||||
finally
|
||||
{
|
||||
Logger.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user