This feature makes it so that if an error is reported with WithError and it doesn't know how to encode itself as JSON, the error's string is used to encode the error.
This makes it so that the error messages sent to Graylog via WithError are more useful than an empty object {} as they are currently sent.
This feature makes it so that if an error is reported with
WithError
and it doesn't know how to encode itself as JSON, the error's string is used to encode the error.This makes it so that the error messages sent to Graylog via
WithError
are more useful than an empty object{}
as they are currently sent.