Fix: Be more specific in error message

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-08-27 20:44:19 +02:00
parent 5495e33c3e
commit 30e8f9b7dd
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -120,7 +120,7 @@ func main() {
guild, err := discord.Guild(config.GuildID) guild, err := discord.Guild(config.GuildID)
if err != nil { if err != nil {
log.WithError(err).Fatal("Unable to get guild for given guild-id in config") log.WithError(err).Fatal("Unable to get guild for given guild-id in config: Is the bot added and the ID correct?")
} }
log.WithField("name", guild.Name).Info("Found specified guild for operation") log.WithField("name", guild.Name).Info("Found specified guild for operation")