Skip to content

Commit 00af4bc

Browse files
authored
enable screenshots in sample (#3146)
1 parent be74c3a commit 00af4bc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

samples/Sentry.Samples.Maui/MauiProgram.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ public static MauiApp CreateMauiApp()
1717
// If you want to see everything we can capture from MAUI, you may wish to use a larger value.
1818
options.MaxBreadcrumbs = 1000;
1919

20+
// Be aware that screenshots may contain PII
21+
options.AttachScreenshot = true;
22+
2023
options.Debug = true;
2124
})
2225

0 commit comments

Comments
 (0)