Skip to content

Commit 784869d

Browse files
authored
fix(nextjs): Fix lookup of instrumentation-client.js file (#16637)
Fixes #16634
1 parent 049d0d9 commit 784869d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nextjs/src/config/withSentryConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ function getInstrumentationClientFileContents(): string | void {
432432
['src', 'instrumentation-client.ts'],
433433
['src', 'instrumentation-client.js'],
434434
['instrumentation-client.ts'],
435-
['instrumentation-client.ts'],
435+
['instrumentation-client.js'],
436436
];
437437

438438
for (const pathSegments of potentialInstrumentationClientFileLocations) {

0 commit comments

Comments
 (0)