Closed pi0 closed 2 months ago
Fix regression of https://github.com/unjs/nitro/pull/2591 that hides messages of fatal: true errors.
fatal: true
Context: As pointed out in https://github.com/nuxt/nuxt/pull/28156#discussion_r1679720615, the current assumption was that fatal can be also used by user-thrown errors.
fatal
In the future, we might introduce a new internal flag to h3 errors to clearly separate internal and user errors from each other and keep (internal) fatal also private.
internal
Fix regression of https://github.com/unjs/nitro/pull/2591 that hides messages of
fatal: true
errors.Context: As pointed out in https://github.com/nuxt/nuxt/pull/28156#discussion_r1679720615, the current assumption was that
fatal
can be also used by user-thrown errors.In the future, we might introduce a new
internal
flag to h3 errors to clearly separate internal and user errors from each other and keep (internal) fatal also private.