Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 505 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 505 Bytes

Go Sentry Middleware tools

500 middlewares

Send a 500 response to Sentry.

  • gin Middleware (gin folder) MiddlewareSentry500, MiddlewareSentry500Opts
  • goa Middleware (goa folder) MiddlewareSentry500

Log sentry events that are not sent

Sentry does not provide a way to log information about what is not sent. This repo implements an http.RoundTripper that can recover and log the sentry.Event that failed to send. This is implemented in sentry.go as LogSentrySendFailures.RoundTrip