Skip to content

Commit

Permalink
Improve telemetry
Browse files Browse the repository at this point in the history
  • Loading branch information
amortemousque committed Feb 13, 2024
1 parent 0914840 commit 7fb59cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rum/src/domain/record/record.ts
Expand Up @@ -49,7 +49,7 @@ export function record(options: RecordOptions): RecordAPI {
if (view) {
replayStats.addRecord(view.id)
} else {
addTelemetryError('[Record] no active view', { record } as unknown as Context)
addTelemetryError(new Error('[Record] no active view'), { record } as unknown as Context)
}
}

Expand Down

0 comments on commit 7fb59cf

Please sign in to comment.