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 c6efac6 commit b14b940Copy full SHA for b14b940
src/sentry.android.ts
@@ -93,7 +93,9 @@ export class Sentry {
93
nativeUser.setId(user.id);
94
nativeUser.setEmail(user.email ? user.email : '');
95
nativeUser.setUsername(user.username ? user.username : '');
96
- nativeUser.setOthers(nativeMapObject ? nativeMapObject : null);
+ if (nativeMapObject) {
97
+ nativeUser.setOthers(nativeMapObject);
98
+ }
99
io.sentry.core.Sentry.setUser(nativeUser);
100
}
101
0 commit comments