Skip to content

Commit

Permalink
Change error message to something more meaningful (#257)
Browse files Browse the repository at this point in the history
* change error message to something more meaningful

* rephrase error message

* Update user/user.go
  • Loading branch information
andriisoldatenko authored and schnie committed Jul 22, 2019
1 parent 2522f62 commit e1c5ee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user/user.go
Expand Up @@ -28,7 +28,7 @@ func Create(email string) error {

resp, err := req.Do()
if err != nil {
return err
return errors.New("User creation is disabled")
}

authUser := resp.Data.CreateUser
Expand Down

0 comments on commit e1c5ee3

Please sign in to comment.