gemnasium / logrus-graylog-hook

Graylog hook for logrus
MIT License
87 stars 62 forks source link

Error value in log.Fields disappears or errors tend to print as '{}' #61

Closed agarwalyash02 closed 6 months ago

agarwalyash02 commented 7 months ago

when adding an error in the field if we pass the error interface instead of passing err.Error() which is a string, cannot able to print the error message properly it only shows '{}' in the Graylog UI

agarwalyash02 commented 7 months ago

Have fixed this issue in the PR: https://github.com/gemnasium/logrus-graylog-hook/pull/62

gravis commented 6 months ago

I have released v3.2.1 with this bug fix. Thanks!