Skip to content

Commit

Permalink
fix(v8/core): fatal events should set session as crashed (#15073)
Browse files Browse the repository at this point in the history
Backport of #15072
  • Loading branch information
timfish authored Jan 20, 2025
1 parent dd2201e commit d296ce0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/baseclient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ export abstract class BaseClient<O extends ClientOptions> implements Client<O> {

/** Updates existing session based on the provided event */
protected _updateSessionFromEvent(session: Session, event: Event): void {
let crashed = false;
let crashed = event.level === 'fatal';
let errored = false;
const exceptions = event.exception && event.exception.values;

Expand Down

0 comments on commit d296ce0

Please sign in to comment.