removing printlns on successful shutdown

This commit is contained in:
2026-03-01 00:17:58 -05:00
parent b9ec31da95
commit a07c071dc2

View File

@@ -112,8 +112,6 @@ func (b *bolt) Start() error {
return fmt.Errorf("failed to open websocket connection with Discord: %e", err)
}
log.Println("bot started")
sigChannel := make(chan os.Signal, 1)
signal.Notify(sigChannel, os.Interrupt)
<-sigChannel
@@ -131,10 +129,8 @@ func (b *bolt) Start() error {
case <-ctx.Done():
log.Println("shutdown timed out waiting for handlers to finish, some may have been incomplete")
case <-closeChan:
log.Println("handler routines cleaned")
}
log.Println("exiting")
return b.stop()
}