theogravity / pino-datadog-transport

A pino v7+ transport for sending logs to Datadog
MIT License
14 stars 4 forks source link

onError deos not work #6

Closed mariuszbeltowski closed 2 years ago

mariuszbeltowski commented 2 years ago

onError deos not work, code below:

    console.error('error', err, logs);
  },

results in:

error undefined undefined
theogravity commented 2 years ago

Can you give me example code that reproduces this?

theogravity commented 2 years ago

Going to close as I've updated the error reporting behavior. Re-open if you still have issues with some info about your configuration.