err handl

This commit is contained in:
2025-08-08 01:02:17 +07:00
parent d0f517a0f9
commit 921de8e19c
3 changed files with 14 additions and 10 deletions
-7
View File
@@ -1,7 +0,0 @@
import { defineNitroPlugin } from 'nitropack'
export default defineNitroPlugin((nitroApp) => {
nitroApp.hooks.hook('error', (error, event) => {
console.error('[Nitro Error]', error)
})
})