Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
shirtiny committed Dec 11, 2021
1 parent 60260cb commit 7c13e9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/model/shLogger.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* @Author: Shirtiny
* @Date: 2021-06-25 10:25:33
* @LastEditTime: 2021-12-11 11:18:34
* @LastEditTime: 2021-12-11 11:51:37
* @Description:
*/

Expand Down Expand Up @@ -137,7 +137,7 @@ export class ShLogger extends Logger {
this.formatShapeLog(logTypes.warn, message, ...data);
}

error = (error: any | unknown, ...data: any[]) => {
error = (error: any, ...data: any[]) => {
this.formatShapeLog(
logTypes.error,
`${error instanceof Error ? error.stack : error}\n`,
Expand Down

0 comments on commit 7c13e9c

Please sign in to comment.