Skip to content

Commit f4df4c6

Browse files
committed
Update SentryEventExtensions.cs
1 parent d25e185 commit f4df4c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Sentry/Platforms/Android/Extensions/SentryEventExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ internal static class SentryEventExtensions
1717

1818
public static SentryEvent ToSentryEvent(this JavaSdk.SentryEvent sentryEvent, JavaSdk.SentryOptions javaOptions)
1919
{
20-
if (sentryEvent?.User != null)
20+
if (sentryEvent.User != null)
2121
{
2222
// when we cast this serialize this over, this value must be set
2323
sentryEvent.User.Name ??= String.Empty;

0 commit comments

Comments
 (0)