Skip to content

Commit

Permalink
fix: sentry report message
Browse files Browse the repository at this point in the history
  • Loading branch information
sundowndev committed Apr 20, 2021
1 parent 4b97d96 commit 04f0efa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func run() int {
}

func flushSentry() {
fmt.Print("Sending error report ...")
gosentry.Flush(60 * time.Second)
fmt.Printf(" done, thank you %s\n", color.RedString("❤️"))
ttl := 60 * time.Second
ok := gosentry.Flush(ttl)
logrus.WithField("timeout", ttl).WithField("success", ok).Debug("Flushed Sentry events")
}

0 comments on commit 04f0efa

Please sign in to comment.