Skip to content

Commit 9a0dc5f

Browse files
authored
Apply suggestions from code review
1 parent f6d98ec commit 9a0dc5f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/replay/src/replay.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,13 +210,14 @@ export class ReplayContainer implements ReplayContainerInterface {
210210
if (count > 500) {
211211
const breadcrumb = createBreadcrumb({
212212
category: 'replay.mutations',
213-
message: `A mutation with ${count} changes was recorded, which indicate slow performance.`,
213+
message: `A mutation with ${count} changes was recorded, which may indicate slow performance.`,
214214
data: {
215215
mutationsCount: count,
216216
},
217217
});
218218
this._createCustomBreadcrumb(breadcrumb);
219219
}
220+
// `true` means we use the regular mutation handling by rrweb
220221
return true;
221222
},
222223
});

0 commit comments

Comments
 (0)