Skip to content

Commit

Permalink
Add context from main commit
Browse files Browse the repository at this point in the history
Ref: d3dc2fa
  • Loading branch information
stefanvanburen committed Dec 1, 2023
1 parent a336427 commit f3d9fce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion private/buf/cmd/buf/buf.go
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,8 @@ func wrapError(err error) error {
"visit https://docs.buf.build/bsr/authentication`, authErr.TokenEnvKey())
}
return errors.New(`Failure: you are not authenticated. Create a new entry in your netrc, " +
"using a Buf API Key as the password. For details, visit https://docs.buf.build/bsr/authentication`)
"using a Buf API Key as the password. If you already have an entry in your netrc, check " +
"to see that your token is not expired. For details, visit https://docs.buf.build/bsr/authentication`)
case connectCode == connect.CodeUnavailable:
msg := `Failure: the server hosted at that remote is unavailable.`
// If the returned error is Unavailable, then determine if this is a DNS error. If so,
Expand Down

0 comments on commit f3d9fce

Please sign in to comment.