From de9fae295d91c0b66eac55783f16eb1ba924ea7e Mon Sep 17 00:00:00 2001 From: sneak Date: Wed, 30 Sep 2020 22:11:53 -0700 Subject: [PATCH] add sentry middleware doc link in comment --- httpserver/routes.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/httpserver/routes.go b/httpserver/routes.go index db44ed1..395e7d9 100644 --- a/httpserver/routes.go +++ b/httpserver/routes.go @@ -42,6 +42,8 @@ func (s *server) routes() { // this adds a sentry reporting middleware if and only if // sentry is enabled via setting of SENTRY_DSN in env. if s.sentryEnabled { + // Options docs at + // https://docs.sentry.io/platforms/go/guides/http/ sentryHandler := sentryhttp.New(sentryhttp.Options{}) s.router.Use(sentryHandler.Handle) }