huang-julien / nuxt-applicationinsights

ApplicationInsights module for Nuxt 3.
MIT License
16 stars 0 forks source link

Change the log of /__nuxt_error #79

Closed huang-julien closed 3 months ago

huang-julien commented 3 months ago

this is due to how nuxt work internally and may need a change upstream.

At nitro AfterResponse hook and in case of a nuxt error page, it is a path like /__nuxt_error?url=...statusCode=... because nuxt-nitro renderer does an internal localFetch to render the error page.