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 5b7fbc3 commit d40c030Copy full SHA for d40c030
integration-test/net9-maui/MauiProgram.cs
@@ -21,11 +21,16 @@ public static MauiApp CreateMauiApp()
21
options.SendClientReports = false;
22
options.AutoSessionTracking = false;
23
24
- options.SetBeforeBreadcrumb((breadcrumb, hint) =>
+ // Only check breadcrumbs for non-crash tests...
25
+ var testArg = System.Environment.GetEnvironmentVariable("SENTRY_TEST_ARG");
26
+ if (!Enum.TryParse<CrashType>(testArg, ignoreCase: true, out var crashType))
27
{
- App.ReceiveSystemBreadcrumb(breadcrumb);
- return breadcrumb;
28
- });
+ options.SetBeforeBreadcrumb((breadcrumb, hint) =>
29
+ {
30
+ App.ReceiveSystemBreadcrumb(breadcrumb);
31
+ return breadcrumb;
32
+ });
33
+ }
34
})
35
.ConfigureFonts(fonts =>
36
0 commit comments