Skip to content

Commit

Permalink
Improved error message
Browse files Browse the repository at this point in the history
I got this error and couldn't remember how to login.
  • Loading branch information
simonw authored and michaeldwan committed Jun 26, 2020
1 parent 988a905 commit 25d4a54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/superfly/flyctl/flyctl"
)

var ErrNoAuthToken = errors.New("No api access token available. Please login")
var ErrNoAuthToken = errors.New("No access token available. Please login with 'flyctl auth login'")

func NewClient() *Client {
client := &Client{}
Expand Down

0 comments on commit 25d4a54

Please sign in to comment.