From 9ee30e49231e084a95ec514380e1d75a3f14e238 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20=C5=A0koda?= Date: Fri, 20 Nov 2020 10:48:27 +0100 Subject: [PATCH] Add sentry fingerprint --- internal/cmd/main.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/cmd/main.go b/internal/cmd/main.go index f09d56cd..fa15636d 100644 --- a/internal/cmd/main.go +++ b/internal/cmd/main.go @@ -56,6 +56,10 @@ func Main(appName, usage string, extraFlags []cli.Flag, run func(*cli.Context) e Release: constants.Revision, }) + sentry.ConfigureScope(func(scope *sentry.Scope) { + scope.SetFingerprint([]string{"{{ default }}"}) + }) + if err != nil { log.WithError(err).Errorln("Can not setup sentry DSN") }