File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
packages/apm/src/integrations Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 1010- [ core] fix: Call ` bindClient ` when creating new ` Hub ` to make integrations work automatically (#2665 )
1111- [ gatsby] feat: Add @sentry/gatsby package (#2652 )
1212- [ core] ref: Rename ` whitelistUrls/blacklistUrls ` to ` allowUrls/denyUrls `
13+ - [ apm] fix: Check if ` performance.mark ` exists before calling it
1314
1415## 5.17.0
1516
Original file line number Diff line number Diff line change @@ -170,7 +170,9 @@ export class Tracing implements Integration {
170170 */
171171 public constructor ( _options ?: Partial < TracingOptions > ) {
172172 if ( global . performance ) {
173- global . performance . mark ( 'sentry-tracing-init' ) ;
173+ if ( global . performance . mark ) {
174+ global . performance . mark ( 'sentry-tracing-init' ) ;
175+ }
174176 Tracing . _trackLCP ( ) ;
175177 }
176178 const defaults = {
You can’t perform that action at this time.
0 commit comments