We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa24dc3 commit fbf6af1Copy full SHA for fbf6af1
packages/browser/src/tracing/browserTracingIntegration.ts
@@ -782,7 +782,7 @@ export function getMetaContent(metaName: string): string | undefined {
782
/** Returns the description of a server timing entry */
783
export function getServerTiming(name: string): string | undefined {
784
const navigation = WINDOW.performance?.getEntriesByType?.('navigation')[0] as PerformanceNavigationTiming | undefined;
785
- const entry = navigation?.serverTiming.find(entry => entry.name === name);
+ const entry = navigation?.serverTiming?.find(entry => entry.name === name);
786
return entry?.description;
787
}
788
0 commit comments