mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-29 06:15:29 -04:00
Merge pull request #513 from codimd/fix/log-stacktrace
Fix stack trace logging
This commit is contained in:
commit
e158982490
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…
Add table
Add a link
Reference in a new issue