fix minor issue in error.go

This commit is contained in:
viehlieb 2022-10-12 13:55:36 +02:00
parent 93abfc41fc
commit 959811ae31
2 changed files with 4 additions and 8 deletions

View file

@ -1106,7 +1106,7 @@ func IsErrTeamsDoNotExist(err error) bool {
}
func (err ErrTeamsDoNotExist) Error() string {
return fmt.Sprintf("Team does not exist [Team ID: %d]", err.Name)
return fmt.Sprintf("Team does not exist [Team Name: %v]", err.Name)
}
// ErrCodeTeamDoesNotExist holds the unique world-error code of this error