You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using slog Handler to log custom errors, the error is not converted to string and is not logged correctly.
Simple example to reproduce the problem:
Current behavior
When using slog Handler to log custom errors, the error is not converted to string and is not logged correctly.
Simple example to reproduce the problem:
This behaviour is not backwards compatible as for parameters of type
error
error.Error() is called in lager.Error() but not in the slog Handler.Desired behavior
The desired behaviour is to call
Error()
for parameters of typeerror
in the slog Handler.Affected Version
v3.0.3
The text was updated successfully, but these errors were encountered: