deislabs / bindle

Bindle: Object Storage for Collections
Apache License 2.0
263 stars 37 forks source link

Time for another error message pass #231

Closed itowlson closed 3 years ago

itowlson commented 3 years ago

Using Bindle client 0.5.0 against the f1sh.ca server:

# Used HTTP instead of HTTPS
13:39 $ bindle --server http://bindle.f1sh.ca:8080/v1 push -p ~/yotests/test090/staging itowlson/test090/0.1.0
Invalid request (status code 400): None

# Forgot the port
13:39 $ bindle --server https://bindle.f1sh.ca/v1 push -p ~/yotests/test090/staging itowlson/test090/0.1.0
Server has encountered an error: None

The correct URL is https://bindle.f1sh.ca:8080/v1, so it's fine for the client to error; but these errors seem extremely cryptic!