evalphobia / logrus_sentry

sentry hook for logrus
MIT License
194 stars 78 forks source link

fix: handle nil value first, to prevent nuptrexp #88

Open h3isenbug opened 3 years ago

h3isenbug commented 3 years ago

If formatData is called with a nil Stringer or Error, the current code will raise a null pointer exception.