Categorygithub.com/digitalmint/go-sentry-middleware
repositorypackage
0.6.0
Repository: https://github.com/digitalmint/go-sentry-middleware.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

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