You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
serviceErrorHandler was created to handle errors that happen during this.commander.parseAsyncas detailed in this PR, whereas errorHandler is the general commander error handler and modifies how errors at the commander level are handled
Is there an existing issue for this?
Current behavior
When an error is raised
errorHandler
INestApplicationContext
before runner execution. #852My output will be like:
The output starts with the error
Error: TEST
which is not formatted as it should be with my logger, and then the buffered logs continue afterwards...Minimum reproduction code
Command that returns an error
Expected behavior
Error is written with custom logger
Package
nest-commander
nest-commander-schematics
nest-commander-testing
Package version
3.12.5
Node.js version
20.11.1
In which operating systems have you tested?
Other
No response
The text was updated successfully, but these errors were encountered: