Archived
1
0

Do not trace child process messages

All this does is add a stack trace which is not helpful here.
This commit is contained in:
Asher 2023-05-04 10:25:51 -08:00
parent aac5efa046
commit e02d56dbfd
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A

View File

@ -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)