We have a project on Next.js. For logging, we’re using Application Insights. There’s no problem with client-side errors, but I can’t catch server-side errors. The Next.js error is:
<code>An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.
</code>
<code>An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.
</code>
An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error.
How can I catch these errors? How can I find server logs in Azure?
Thanks.