From 2eaac897bf965054c2db0a431391d4c92caaae2d Mon Sep 17 00:00:00 2001 From: kumavis Date: Fri, 23 Mar 2018 18:37:41 -0700 Subject: [PATCH] sentry - namespace files under metamask dir --- app/scripts/lib/setupRaven.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/scripts/lib/setupRaven.js b/app/scripts/lib/setupRaven.js index 977e5938d..54bfc3d82 100644 --- a/app/scripts/lib/setupRaven.js +++ b/app/scripts/lib/setupRaven.js @@ -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 }