How to add a server error handler?
Is there a way to add a nitro plugin which can simply console log everytime I either throw createError() or the app has any other error (500) ?
2 Replies
I think you can do this in the context. Im not into this but u may wanna try around https://nuxt.com/docs/getting-started/error-handling#error-handling
Hi @Likonima yes that's why I am asking, the docs state:
I was hoping that the docs were outdated or that there would be a workaround by now