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