log error from task handler
This commit is contained in:
parent
691f71b9c6
commit
9867917f1f
@ -56,7 +56,10 @@ func processTask(task *Task, s *discordgo.Session) {
|
|||||||
Content: member.Mention(),
|
Content: member.Mention(),
|
||||||
Embed: &e,
|
Embed: &e,
|
||||||
}
|
}
|
||||||
_, _ = s.ChannelMessageSendComplex(channel.ID, &msg)
|
_, err = s.ChannelMessageSendComplex(channel.ID, &msg)
|
||||||
|
if err != nil {
|
||||||
|
log.Println(err)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user