Skip to content

Logger provided to nest framework doesn’t log unhandled errors properly #79

@michaellieberherr

Description

@michaellieberherr

Description

Unhandled errors logged through the internally provided Nest logger appear in the console as:

14:50:33.103 - Nest :: [{},null]

instead of showing the actual exception details.

Regular Nest-generated logs work as expected.

Steps to reproduce

  1. Provide a logger instance to Nest during bootstrap:

    app.useLogger(loggerService.getInstanceNest('Nest'))
  2. Trigger an unhandled error that is caught and logged by Nest

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions