fix minor issue in error.go
This commit is contained in:
parent
93abfc41fc
commit
959811ae31
2 changed files with 4 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Reference in a new issue