Skip to content

Commit

Permalink
chore: ignore type
Browse files Browse the repository at this point in the history
  • Loading branch information
amertak committed Jan 17, 2025
1 parent 4fcccaa commit d1cbab5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/web/src/SplunkDocumentLoadInstrumentation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ export class SplunkDocumentLoadInstrumentation extends DocumentLoadInstrumentati
;(entries as PerformanceEntriesWithServerTiming).serverTiming = navEntries[0].serverTiming
}

if (navEntries[0]?.responseStatus) {
span.setAttribute('http.response.status_code', navEntries[0].responseStatus)
if ((navEntries[0] as any)?.responseStatus) {
span.setAttribute('http.response.status_code', (navEntries[0] as any).responseStatus)
}
}

Expand Down

0 comments on commit d1cbab5

Please sign in to comment.