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 b6e3554 commit e5e8493Copy full SHA for e5e8493
MIGRATION.md
@@ -173,6 +173,26 @@ _New_:
173
Sentry.setTag('key', 'value');
174
```
175
176
+#### Set user context
177
+
178
+_Old_:
179
180
+```js
181
+Raven.setUserContext({
182
+ id: '123',
183
+ email: 'david@example.com',
184
+});
185
+```
186
187
+_New_:
188
189
190
+Sentry.setUser({
191
192
193
194
195
196
#### Capture custom exception
197
198
> A scope must now be sent around a capture to add extra information. [Docs](https://docs.sentry.io/platforms/javascript/#unsetting-context)
0 commit comments