io7m-com / brooklime

Command-line Nexus Pro interface
https://www.io7m.com/software/brooklime/
ISC License
5 stars 0 forks source link

Upload failures could have better error messages #4

Closed io7m closed 2 weeks ago

io7m commented 3 years ago

The Nexus server will occasionally return a better error message in an XML document. For example, if you try to upload a -SNAPSHOT version to a RELEASE repository, you'll get a precise error message telling you what you did wrong. Unfortunately, we're not parsing those, and will just log 400 BAD REQUEST. The full error is available if you turn on debug logging, but it would be better if you didn't have to.