Do not trace child process messages
All this does is add a stack trace which is not helpful here.
This commit is contained in:
parent
aac5efa046
commit
e02d56dbfd
@ -44,7 +44,7 @@ export function onMessage<M, T extends M>(
|
|||||||
}
|
}
|
||||||
|
|
||||||
const onMessage = (message: M) => {
|
const onMessage = (message: M) => {
|
||||||
;(customLogger || logger).trace("got message", field("message", message))
|
;(customLogger || logger).debug("got message", field("message", message))
|
||||||
if (fn(message)) {
|
if (fn(message)) {
|
||||||
cleanup()
|
cleanup()
|
||||||
resolve(message)
|
resolve(message)
|
||||||
|
Reference in New Issue
Block a user