Skip to content

Commit 33ff87f

Browse files
committed
Pass error as extra input
1 parent 8e99d44 commit 33ff87f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/logger/src/Logger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -983,7 +983,7 @@ class Logger extends Utility implements LoggerInterface {
983983
this.createAndPopulateLogItem(
984984
LogLevelThreshold.WARN,
985985
`Unable to buffer log: ${(error as Error).message}`,
986-
extraInput
986+
[error as Error]
987987
)
988988
);
989989

0 commit comments

Comments
 (0)