Closed 95gabor closed 2 weeks ago
Hi! Did you enable it via useGlobalFilters? https://github.com/kiyasov/platform-hono/blob/dba04ff2e8f11e082f758d6a42e3035a9f6818d2/example/src/main.ts#L26
Hi! Did you enable it via useGlobalFilters?
Yes, but unfortunately it did not work.
Can you share the exmaple code at https://replit.com ?
Can you share the exmaple code at https://replit.com ?
Sorry, it seems to work here, so something wrong in my environment.
Here is the working example: https://replit.com/@95gabor/hono-nest-esbuild-example
Hi!
I tried to use the exception handler from the README, but not worked for me.
I had to create a new Response object, because the previous error instance had JSON parse error (I only throw a simple new Error() instance in my controller). Here is my solution: