elysiajs / elysia

Ergonomic Framework for Humans
https://elysiajs.com
MIT License
10.53k stars 226 forks source link

No error in the logs for invalid import #849

Open dector opened 1 month ago

dector commented 1 month ago

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?

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

dector commented 1 month ago

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?