jcassee / angular-hypermedia

Hypermedia REST API client for AngularJS applications
MIT License
38 stars 5 forks source link

Error handling of BlobResource.get() results in invalid VndError #46

Open marrem opened 6 years ago

marrem commented 6 years ago

When receiving a 400 with content-type of "application/vnd.error+json", the resulting response.error (in catch or 2nd arg to then) is incomplete, i.e. message, $nested are undefined despite being present in the response.