diff --git a/src/client.js b/src/client.js index 52f995e..72a2af7 100644 --- a/src/client.js +++ b/src/client.js @@ -524,7 +524,7 @@ export class Saturn { // It's a good enough heuristic. const entry = performance .getEntriesByType('resource') - .find((r) => r.name === log.url.href) + .find((r) => r.name === log.url?.href) if (entry) { const dnsStart = entry.domainLookupStart