1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

sentry - namespace files under metamask dir

This commit is contained in:
kumavis 2018-03-23 18:37:41 -07:00
parent e3d7062e9b
commit 2eaac897bf

View File

@ -29,7 +29,7 @@ function setupRaven(opts) {
}
})
client.install()
return Raven
}
@ -47,6 +47,6 @@ function rewriteReportUrls(report) {
function toMetamaskUrl(origUrl) {
const filePath = origUrl.split(location.origin)[1]
if (!filePath) return origUrl
const metamaskUrl = `${filePath}`
const metamaskUrl = `metamask${filePath}`
return metamaskUrl
}