Closed luke-engle closed 2 years ago
37 testsβ +2βββ37 :heavy_check_mark: +2βββ0s :stopwatch: Β±0s ββ1 suites Β±0βββββ0 :zzz: Β±0β ββ1 filesββ Β±0βββββ0 :x: Β±0β
Results for commit 28e2f194.βΒ± Comparison against base commit ccfcad4e.
:recycle: This comment has been updated with latest results.
What's changing?
When a user runs the update command with an invalid token, the login fails and the user gets a cryptic, unhelpful error message:
Error response from daemon: Get "https://ghcr.io/v2/": denied: denied
Similarly, when a user runs the update command with a token that doesn't have the required scopes, they get this cryptic error message:
Error response from daemon: denied
This change addresses this issue by providing the user with clear error messages in these scenarios.
How's this tested?
Unit tests, and running manually which you can see below π
Invalid token:
Invalid scopes:
Closes #88