Skip to content

Commit 488a273

Browse files
authored
misc: Run prettier on trycatch.ts (getsentry#2574)
1 parent f119435 commit 488a273

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

packages/browser/src/integrations/trycatch.ts

+12-9
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,19 @@ export class TryCatch implements Integration {
3838
/** JSDoc */
3939
private _wrapRAF(original: any): (callback: () => void) => any {
4040
return function(this: any, callback: () => void): () => void {
41-
return original.call(this, wrap(callback, {
42-
mechanism: {
43-
data: {
44-
function: 'requestAnimationFrame',
45-
handler: getFunctionName(original),
41+
return original.call(
42+
this,
43+
wrap(callback, {
44+
mechanism: {
45+
data: {
46+
function: 'requestAnimationFrame',
47+
handler: getFunctionName(original),
48+
},
49+
handled: true,
50+
type: 'instrument',
4651
},
47-
handled: true,
48-
type: 'instrument',
49-
},
50-
}));
52+
}),
53+
);
5154
};
5255
}
5356

0 commit comments

Comments
 (0)