Skip to content

Commit

Permalink
Do not trace child process messages
Browse files Browse the repository at this point in the history
All this does is add a stack trace which is not helpful here.
  • Loading branch information
code-asher committed May 4, 2023
1 parent aac5efa commit e02d56d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node/wrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export function onMessage<M, T extends M>(
}

const onMessage = (message: M) => {
;(customLogger || logger).trace("got message", field("message", message))
;(customLogger || logger).debug("got message", field("message", message))
if (fn(message)) {
cleanup()
resolve(message)
Expand Down

0 comments on commit e02d56d

Please sign in to comment.