mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-07 07:14:04 +00:00
Add Sentry error tracking
This commit is contained in:
parent
2b89b22d41
commit
10a8598b82
9 changed files with 106 additions and 36 deletions
|
|
@ -1,3 +1,5 @@
|
|||
using CommonHelpers;
|
||||
|
||||
namespace SteamController
|
||||
{
|
||||
internal static class Program
|
||||
|
|
@ -8,14 +10,17 @@ namespace SteamController
|
|||
[STAThread]
|
||||
static void Main()
|
||||
{
|
||||
// To customize application configuration such as set high DPI settings or default font,
|
||||
// see https://aka.ms/applicationconfiguration.
|
||||
ApplicationConfiguration.Initialize();
|
||||
|
||||
using (var controller = new Controller())
|
||||
Instance.WithSentry(() =>
|
||||
{
|
||||
Application.Run();
|
||||
}
|
||||
// To customize application configuration such as set high DPI settings or default font,
|
||||
// see https://aka.ms/applicationconfiguration.
|
||||
ApplicationConfiguration.Initialize();
|
||||
|
||||
using (var controller = new Controller())
|
||||
{
|
||||
Application.Run();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue