fix log level domaincheckbot
This commit is contained in:
parent
fed288f501
commit
6b34bd4193
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue