fix bug that causes bot to crash due to db error

pull/1/head
DustyP 5 years ago
parent ac395b3fbe
commit dd0f9cba57

@ -23,6 +23,7 @@ func processTask(task *Task, s *discordgo.Session) {
res, err := Database.Query(query, task.ID)
if err != nil {
log.Println(err)
return
}
var completed bool
var processing bool

Loading…
Cancel
Save