elysia
elysia copied to clipboard
No error in the logs for invalid import
What version of Elysia is running?
1.1.16
What platform is your computer?
Linux 6.10.4-amd64 x86_64 unknown
What steps can reproduce the bug?
- Add html plugin for JSX ()
- Do incorrect import
import Html from "@elysiajs/html";(as suggested by VSCode) inindex.tsx. bun dev.- Open website in browser.
What is the expected behavior?
Request is failed (with status 500) and there are logs in the console.
What do you see instead?
Request is failed (with status 500) and there are NO any logs in the console.
Additional information
No response
Have you try removing the node_modules and bun.lockb and try again yet?
yes
As a workaround I can use onError {}. But I kinda expect that in development mode server errors should be printed to the console. Is this by design?
+1