mirror of
https://github.com/Luzifer/discord-community.git
synced 2024-12-20 02:11:23 +00:00
Fix: Be more specific in error message
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
5495e33c3e
commit
30e8f9b7dd
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -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")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue