pino-elasticsearch
pino-elasticsearch copied to clipboard
Constructor breaks when an empty log input is received (Date
If value equals {}
} else {
value.time = (new Date(value.time)).toISOString()
}
It will return:
RangeError: Invalid time value
at Date.toISOString (<anonymous>)
And break
Thanks for reporting this! Would you like to send a PR?