• David Barr's avatar
    Use 400 error instead of 500 on bad composer.json · 71d8fd25
    David Barr authored
    When publishing a composer package via the API, if
    the composer.json file is missing or malformed, the
    backend returns a 500 error. This commit return a
    more appropriate 400 Bad Request instead.
    71d8fd25
composer_packages.rb 4.54 KB