Skip to content

[Next.js] Log warning when instrumentation file doesn't contain captureRequestError #15325

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
lforst opened this issue Feb 6, 2025 · 2 comments
Assignees

Comments

@lforst
Copy link
Member

lforst commented Feb 6, 2025

Description

log the warning

@lforst lforst self-assigned this Feb 6, 2025
@lforst
Copy link
Member Author

lforst commented Feb 12, 2025

Sadly harder than anticipated because Next.js doesn't give us a build directory outside of the webpack context, so finding the instumentation.ts file is sucky

@lforst
Copy link
Member Author

lforst commented Feb 26, 2025

Fixed with #15488

@lforst lforst closed this as completed Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants