LogstashFormatter doesn't perform an error
type check when setting fields so some errors are not correctly serialised.
#377
Labels
error
type check when setting fields so some errors are not correctly serialised.
#377
This is essentially the same issue as #137 but with the
LogstashFormatter
.LogstashFormatter:
JSONFormatter:
The resulting
error
field, using golangsurl.Error
as an example (https://golang.org/pkg/net/url/#Error), is serialised like so:The text was updated successfully, but these errors were encountered: