mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Removing use of window object from sentry code (#16022)
This commit is contained in:
parent
047d664c2e
commit
3271b812e3
@ -226,7 +226,7 @@ function rewriteReportUrls(report) {
|
||||
}
|
||||
|
||||
function toMetamaskUrl(origUrl) {
|
||||
const filePath = origUrl.split(window.location.origin)[1];
|
||||
const filePath = origUrl.split(globalThis.location.origin)[1];
|
||||
if (!filePath) {
|
||||
return origUrl;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user