Skip to main content

Why am I not receiving server errors in NextJS?

Updated over a month ago

Issue

I am not receiving server thrown errors in NextJS. I receive events from the client and edge configs with no issue.

Applies To

  • NextJS SDK users

Resolution

The NextJS SDK's server component is built from our Node SDK. If your server has a runtime that is not Node, then the server.config's Sentry.init() will not initialize.
​

Did this answer your question?