Return errors to main

This commit is contained in:
2022-09-09 10:21:07 -05:00
parent 211f963b87
commit 6bd4744745
2 changed files with 7 additions and 6 deletions

View File

@ -1,13 +1,13 @@
package main
import (
"os"
"git.kill0.net/chill9/beepboop/bot"
log "github.com/sirupsen/logrus"
)
func main() {
if err := bot.Run(); err != nil {
os.Exit(1)
log.Fatal(err)
}
}