Skip to content

Commit 6f94b7e

Browse files
committed
Test null value on tag in iOS sample
1 parent edb4d74 commit 6f94b7e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

samples/Sentry.Samples.Ios/AppDelegate.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ public override bool FinishedLaunching(UIApplication application, NSDictionary l
3030
options.CacheDirectoryPath = Path.GetTempPath();
3131
});
3232

33+
SentrySdk.ConfigureScope(scope =>
34+
{
35+
scope.SetTag("IAmNull", null!);
36+
});
37+
3338
// create a new window instance based on the screen size
3439
Window = new UIWindow(UIScreen.MainScreen.Bounds);
3540

0 commit comments

Comments
 (0)