We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d74c044 commit cbc0df1Copy full SHA for cbc0df1
test/Sentry.Tests/SentrySdkTests.cs
@@ -1017,9 +1017,9 @@ public void ProcessOnBeforeSend_NativeErrorSuppression(bool suppressNativeErrors
1017
});
1018
1019
var scope = new Scope(options);
1020
- var hub = Substitute.For<IHub>();
1021
- hub.When(h => hub.ConfigureScope(Arg.Any<Action<Scope>>()))
1022
- .Do(callback => callback.Arg<Action<Scope>>().Invoke(scope));
+ // `EXC_BAD_ACCESS` must be filtered out early on startup during
+ // the Cocoa SDK init before the Hub instance has been created
+ var hub = DisabledHub.Instance;
1023
1024
var evt = new Sentry.CocoaSdk.SentryEvent();
1025
var ex = new Sentry.CocoaSdk.SentryException("Not checked", "EXC_BAD_ACCESS");
0 commit comments