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 acf0f4e commit 5286373Copy full SHA for 5286373
vendor/TraceKit/tracekit.js
@@ -24,7 +24,7 @@ var UNKNOWN_FUNCTION = '?';
24
var ERROR_TYPES_RE = /^(?:Uncaught (?:exception: )?)?((?:Eval|Internal|Range|Reference|Syntax|Type|URI)Error): ?(.*)$/;
25
26
function getLocationHref() {
27
- if (typeof document === 'undefined')
+ if (typeof document === 'undefined' || typeof document.location === 'undefined')
28
return '';
29
30
return document.location.href;
0 commit comments