This commit is contained in:
2025-08-08 01:48:34 +07:00
parent ec74900658
commit f37573b9ec
4 changed files with 16 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
import { defineNitroPlugin } from 'nitropack'
export default defineNitroPlugin((nitroApp) => {
nitroApp.hooks.hook('error', (error, event) => {
console.error('[Nitro Error]', error)
})
})