Remove redundant sentry flush

This commit is contained in:
David Robertson 2023-04-05 17:54:51 +01:00
parent 646232dcb0
commit 7e49a8c2f1
No known key found for this signature in database
GPG Key ID: 903ECE108A39DEDD

View File

@ -141,7 +141,6 @@ func main() {
}
if args[EnvSentryDsn] != "" {
defer sentry.Flush(2 * time.Second)
sentryHandler := sentryhttp.New(sentryhttp.Options{
Repanic: true,
})