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

Calls success callback on error if error callback wasn't provided #36

Closed naugtur closed 9 years ago

naugtur commented 9 years ago

If xhr passes an error to the callback and there is no error callback in options, sync proceeds to call options.success.

Doesn't sound like a desired behavior to me.