AmpersandJS / ampersand-sync

Provides sync behavior for updating data from ampersand models and collections to the server.
http://ampersandjs.com
MIT License
20 stars 28 forks source link

fix #52 parse json in error responses if possible #66

Closed naugtur closed 9 years ago

naugtur commented 9 years ago

Could somebody related with ampersand-model comment about this? I'd rather not merge it if there's an assumption that the error response must be a string. It's not a vast improvement for usability and if something would require refactoring just because of that, let's drop this PR altogether.