Next.js Discord

Discord Forum

App restarting due to crash but no trace to app code

Unanswered
Serbian Hound posted this in #help-forum
Open in Discord
Serbian HoundOP
We have a app that is crashing regularly, just started a few days ago with no release around bumping next, sentry, etc.

We are struggling to debug this because we get an error in the logs but no route, or line of code is called out.

Sentry is also not capturing it

https://github.com/getsentry/sentry-javascript/issues/3970

Not sure how to produce a meaningful bit of context around this error

We get its likely a infinite redirect but finding the route or session that caused it is a struggle.

5 Replies

Dutch
its either an internal next error pnpm error
try it with npm with clean cache as first
if it doesnt solve, open an issue with that log
Serbian HoundOP
that makes sense because sentry isnt catching it, so it sounds like its a next error thats not getting bubbled up
thanks