-
-
Notifications
You must be signed in to change notification settings - Fork 26
Description
My project is not open-source and would have to do some work to create a reproduction, but I may get around to that later. But I'm noticing that this sometimes swallows errors. Node version 12.7.0
I've run into this before and found the error with a debugger, but in this case vscode isn't picking up an exception - it's just restarting constantly. It seems to be related to this ConfigService
. I eventually narrowed down the line where it stops and
after adding a try / catch around https://github.com/nestjs/nest/blob/2d5cd89135a77066870abaf067986cb1c08213ca/packages/core/injector/injector.ts#L213 I saw this:

I'm wondering if there's a way to adjust the code for the console without messing with the underlying nestjs code so that these errors are not swallowed.
