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

@@ -30,7 +30,9 @@
// Copyright © 2011-2025 Natalia Portillo
// ****************************************************************************/
using System;
using System.Runtime.InteropServices;
using Sentry;
namespace Aaru.Compression;
@@ -62,8 +64,10 @@ public static partial class Native
{
version = AARU_get_acn_version();
}
catch
catch(Exception ex)
{
SentrySdk.CaptureException(ex);
_supported = false;
return false;