fix log level domaincheckbot

This commit is contained in:
Seraphim Strub 2023-04-23 01:33:28 +02:00
parent fed288f501
commit 6b34bd4193

View file

@ -87,7 +87,10 @@ func main() {
}() }()
log.Printf("INFO: domaincheckbot (%v) is now running. Press CTRL-C to exit.", release) log.Printf("INFO: domaincheckbot (%v) is now running. Press CTRL-C to exit.", release)
sentry.ConfigureScope(func(scope *sentry.Scope) {
scope.SetLevel(sentry.LevelDebug)
sentry.CaptureMessage("DEBUG: domaincheckbot started") sentry.CaptureMessage("DEBUG: domaincheckbot started")
})
s := make(chan os.Signal, 1) s := make(chan os.Signal, 1)
signal.Notify(s, syscall.SIGINT, syscall.SIGTERM, os.Interrupt) signal.Notify(s, syscall.SIGINT, syscall.SIGTERM, os.Interrupt)