Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
mydea committed Mar 2, 2023
1 parent 9fbbd5a commit e7bb00d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/replay/src/replay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,13 +204,14 @@ export class ReplayContainer implements ReplayContainerInterface {
if (count > 500) {
const breadcrumb = createBreadcrumb({
category: 'replay.mutations',
message: `A mutation with ${count} changes was recorded, which indicate slow performance.`,
message: `A mutation with ${count} changes was recorded, which may indicate slow performance.`,
data: {
mutationsCount: count,
},
});
this._createCustomBreadcrumb(breadcrumb);
}
// `true` means we use the regular mutation handling by rrweb
return true;
},
});
Expand Down

0 comments on commit e7bb00d

Please sign in to comment.