commit
351bcc70dc
6
main.go
6
main.go
|
@ -80,7 +80,7 @@ func run() int {
|
||||||
}
|
}
|
||||||
|
|
||||||
func flushSentry() {
|
func flushSentry() {
|
||||||
fmt.Print("Sending error report ...")
|
ttl := 60 * time.Second
|
||||||
gosentry.Flush(60 * time.Second)
|
ok := gosentry.Flush(ttl)
|
||||||
fmt.Printf(" done, thank you %s\n", color.RedString("❤️"))
|
logrus.WithField("timeout", ttl).WithField("success", ok).Debug("Flushed Sentry events")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue