From f3d9fce31ea7f198608d4fb50830874531ff553f Mon Sep 17 00:00:00 2001 From: Stefan VanBuren Date: Fri, 1 Dec 2023 15:01:54 -0500 Subject: [PATCH] Add context from main commit Ref: https://github.com/bufbuild/buf/commit/d3dc2fa23ee4aa459a5f359e5f1e89bad31be5b4 --- private/buf/cmd/buf/buf.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/private/buf/cmd/buf/buf.go b/private/buf/cmd/buf/buf.go index 9e399347ba..c4f73f028e 100644 --- a/private/buf/cmd/buf/buf.go +++ b/private/buf/cmd/buf/buf.go @@ -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,