File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
packages/apm/src/integrations Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 11
11
- [gatsby] feat: Add @sentry/gatsby package (#2652)
12
12
- [core] ref: Rename `whitelistUrls/blacklistUrls` to `allowUrls/denyUrls`
13
13
- [react] ref: Refactor Profiler to account for update and render (#2677)
14
- - [tracing] feat: Add ability to get span from activity using `getActivitySpan` (#2677)
14
+ - [apm] feat: Add ability to get span from activity using `getActivitySpan` (#2677)
15
+ - [apm] fix: Check if `performance.mark` exists before calling it (#2680)
15
16
16
17
## 5.17.0
17
18
Original file line number Diff line number Diff line change @@ -171,7 +171,9 @@ export class Tracing implements Integration {
171
171
*/
172
172
public constructor(_options?: Partial<TracingOptions>) {
173
173
if (global.performance) {
174
- global.performance.mark('sentry-tracing-init');
174
+ if (global.performance.mark) {
175
+ global.performance.mark('sentry-tracing-init');
176
+ }
175
177
Tracing._trackLCP();
176
178
}
177
179
const defaults = {
You can’t perform that action at this time.
0 commit comments