File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,14 @@ export function setUser(user: User | null): void {
121
121
}
122
122
123
123
/**
124
- * The last event id of the isolation scope.
124
+ * The last error event id of the isolation scope.
125
+ *
126
+ * Warning: This function really returns the last recorded error event id on the current
127
+ * isolation scope. If you call this function after handling a certain error and another error
128
+ * is captured in between, the last one is returned instead of the one you might expect.
129
+ * Also, ids of events that were never sent to Sentry (for example because
130
+ * they were dropped in `beforeSend`) could be returned.
131
+ *
125
132
* @returns The last event id of the isolation scope.
126
133
*/
127
134
export function lastEventId ( ) : string | undefined {
You can’t perform that action at this time.
0 commit comments