mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-23 10:16:32 -05:00
NestConsoleLoggerService: Propagate trace
parameter to consoleLoggerService
Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
9786f07a61
commit
6af4379a27
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ export class NestConsoleLoggerService implements LoggerService {
|
||||||
|
|
||||||
error(message: any, trace?: string, context?: string): any {
|
error(message: any, trace?: string, context?: string): any {
|
||||||
this.consoleLoggerService.setContext(context);
|
this.consoleLoggerService.setContext(context);
|
||||||
this.consoleLoggerService.error(message);
|
this.consoleLoggerService.error(message, trace);
|
||||||
}
|
}
|
||||||
|
|
||||||
log(message: any, context?: string): any {
|
log(message: any, context?: string): any {
|
||||||
|
|
Loading…
Reference in a new issue