Add Sentry error tracking

This commit is contained in:
Kamil Trzciński 2022-12-12 15:08:00 +01:00
parent 2b89b22d41
commit 10a8598b82
9 changed files with 106 additions and 36 deletions

View file

@ -1,3 +1,4 @@
using CommonHelpers;
using RTSSSharedMemoryNET;
using System.Diagnostics;
@ -8,12 +9,15 @@ namespace PerformanceOverlay
[STAThread]
static void Main()
{
ApplicationConfiguration.Initialize();
using (var controller = new Controller())
Instance.WithSentry(() =>
{
Application.Run();
}
ApplicationConfiguration.Initialize();
using (var controller = new Controller())
{
Application.Run();
}
});
}
}
}