Skip to content

Commit

Permalink
Add flush
Browse files Browse the repository at this point in the history
  • Loading branch information
markspolakovs committed Sep 15, 2024
1 parent 8e32c74 commit a7d773f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ func main() {
if err != nil {
log.Fatal(fmt.Errorf("sentry.Init: %s", err))
}
defer sentry.Flush(2 * time.Second)
}

if config.Schedule.StartHour != 0 {
Expand Down

0 comments on commit a7d773f

Please sign in to comment.