We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4f2ba1 commit b0321c5Copy full SHA for b0321c5
packages/nextjs/src/client/routing/parameterization.ts
@@ -1,4 +1,5 @@
1
-import { GLOBAL_OBJ } from '@sentry/core';
+import { GLOBAL_OBJ, logger } from '@sentry/core';
2
+import { DEBUG_BUILD } from '../../common/debug-build';
3
import type { RouteManifest } from '../../config/manifest/types';
4
5
const globalWithInjectedManifest = GLOBAL_OBJ as typeof GLOBAL_OBJ & {
@@ -59,6 +60,7 @@ export const maybeParameterizeRoute = (route: string): string | undefined => {
59
60
return undefined;
61
}
62
} catch (error) {
63
+ DEBUG_BUILD && logger.warn('Could not extract route manifest');
64
// Something went wrong while parsing the manifest, so we'll fallback to no parameterization
65
66
0 commit comments