Hey there!
In case the error provided to the logger is an ObjectMarshaler then the produced JSON will be invalid, as the current code is opens up the "error": key, then it calls the marshaller which cannot interact with the buffer and the outcome is going to be something like this:
Have a nice day!
Hey there!
In case the error provided to the logger is an ObjectMarshaler then the produced JSON will be invalid, as the current code is opens up the
"error":key, then it calls the marshaller which cannot interact with the buffer and the outcome is going to be something like this:log/logger.go
Line 946 in 5f01506
Have a nice day!