Skip to content

Commit

Permalink
Apply formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mydea authored and github-actions[bot] committed Dec 20, 2023
1 parent 01b7528 commit ea37fb2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/rrweb/src/record/observers/canvas/canvas-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ export class CanvasManager implements CanvasManagerInterface {
this.mutationCb = options.mutationCb;
this.mirror = options.mirror;


if (recordCanvas && sampling === 'all')
this.initCanvasMutationObserver(
win,
Expand Down Expand Up @@ -272,7 +271,9 @@ export class CanvasManager implements CanvasManagerInterface {
);
})
.catch((error) => {
callbackWrapper(() => {throw error});
callbackWrapper(() => {
throw error;
});
});
});
rafId = requestAnimationFrame(takeCanvasSnapshots);
Expand Down

0 comments on commit ea37fb2

Please sign in to comment.