Project

General

Profile

« Previous | Next » 

Revision fe240b67

Added by deivid (David Rodríguez) almost 2 years ago

[rubygems/rubygems] Show better error when PAT can't authenticate to a private server

Before:

Fetching gem metadata from https://rubygems.org/........
Fetching source index from https://rubygems.pkg.github.com/my-org/

Bad username or password for https://[email protected]/my-org/.
Please double-check your credentials and correct them.

After:

Fetching gem metadata from https://rubygems.org/........
Fetching source index from https://rubygems.pkg.github.com/my-org/

Access token could not be authenticated for https://[email protected]/my-org/.
Make sure it's valid and has the necessary scopes configured.

https://github.com/rubygems/rubygems/commit/2ae69c964a