getsentry / raven-go

Sentry client in Go
https://sentry.io
BSD 3-Clause "New" or "Revised" License
561 stars 148 forks source link

Print header x-sentry-error for more details #172

Closed lneves75 closed 6 years ago

lneves75 commented 6 years ago

Context

If the http client gets an http status != 200 in the sentry's response, header x-sentry-error might contain useful information that can help debugging.

Changes