moriturus / ktra

Your Little Cargo Registry

Home Page:https://book.ktra.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Change error message for unauthorized push to show name or login

gagbo opened this issue · comments

Currently it shows the internal user id which is the least useful information for the end user:

error: failed to publish to registry at http://registry.szl/
Caused by:
  the remote server responded with an error (status 403 Forbidden): invalid user id: 1