erlef / rebar3_hex

Rebar3 Hex library
Apache License 2.0
101 stars 49 forks source link

Report status code when user auth fails #17

Closed sanmiguel closed 9 years ago

sanmiguel commented 9 years ago

Currently when rebar3 hex user auth fails, no status code is reported (also no info is printed with DEBUG=1 set). It would be more pleasing to get some feedback on what went wrong.

FWIW mix hex.user auth reports:

Username: sanmiguel
Password:
Generating API key...
Generation of API key failed (401)
Authentication failed (401)
tsloughter commented 9 years ago

Thanks, I'll get this added soon.

tsloughter commented 9 years ago

Added in v1.6.1.