Update Go in actions and add go vet to pre-commit

This commit is contained in:
Tulir Asokan
2022-08-15 16:19:43 +03:00
parent 13c7573b3f
commit 52f7ca1a49
6 changed files with 7 additions and 7 deletions

View File

@@ -644,7 +644,6 @@ func (user *User) handleGuildRoles(guildID string, newRoles []*discordgo.Role) {
if err != nil {
user.log.Errorln("Failed to start transaction for guild role sync:", err)
panic(err)
return
}
for _, role := range newRoles {
dbRole, changed := user.discordRoleToDB(guildID, role, existingRoleMap[role.ID])