Skip to content

Commit

Permalink
fix: Error type
Browse files Browse the repository at this point in the history
  • Loading branch information
frytg committed Nov 22, 2024
1 parent 1c71a59 commit 2d6c284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logger/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const hostName = os.hostname()
const convertError = format((event) => {
if (event?.error instanceof Error) {
event.error = {
code: event.error.code,
...event.error,
message: event.error.message,
stack: event.error.stack,
}
Expand Down

0 comments on commit 2d6c284

Please sign in to comment.