Skip to content

Commit c549dea

Browse files
ref(ui): Better logging for routeNotFound (#69025)
This should help us track down missing slashes that we've introduced
1 parent d1ae313 commit c549dea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

static/app/views/routeNotFound.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ function RouteNotFound({router, location}: Props) {
2525

2626
Sentry.withScope(scope => {
2727
scope.setFingerprint(['RouteNotFound']);
28+
scope.setTag('isMissingSlash', isMissingSlash);
29+
scope.setTag('pathname', pathname);
2830
Sentry.captureException(new Error('Route not found'));
2931
});
3032
}, [pathname, search, hash, isMissingSlash, router]);

0 commit comments

Comments
 (0)