Add Sentry to catch exceptions.

This commit is contained in:
2025-08-20 18:51:05 +01:00
parent d5ef2c874d
commit c1f4b92548
70 changed files with 1213 additions and 1087 deletions

View File

@@ -35,6 +35,7 @@ using System.IO;
using Aaru.CommonTypes.Interop;
using Aaru.Devices;
using Aaru.Logging;
using Sentry;
namespace Aaru.Core.Logging;
@@ -60,9 +61,10 @@ public static class DeviceLog
{
args[i] = Path.GetFileName(args[i]);
}
catch
catch(Exception ex)
{
// Do nothing
SentrySdk.CaptureException(ex);
}
}