sentry - namespace files under metamask dir

This commit is contained in:
kumavis 2018-03-23 18:37:41 -07:00
parent e3d7062e9b
commit 2eaac897bf
1 changed files with 2 additions and 2 deletions

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
}