NestConsoleLoggerService: Propagate trace parameter to consoleLoggerService

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2020-10-03 15:52:07 +02:00
parent 9786f07a61
commit 6af4379a27
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3

View file

@ -13,7 +13,7 @@ export class NestConsoleLoggerService implements LoggerService {
error(message: any, trace?: string, context?: string): any {
this.consoleLoggerService.setContext(context);
this.consoleLoggerService.error(message);
this.consoleLoggerService.error(message, trace);
}
log(message: any, context?: string): any {