I'm using ember-data 2.1.0. What is the recommended approach to handling 500 status code requests.
I'm using the RESTAdapter and when I attempt to update a model and the server responds with a 500, the model's isError
flag is set to true
but the errors don't get assigned to the model.
Is there someplace globally I can define what should happen? I would like the errors to still be attached to the model as they are when the server responds with a 400.
Aucun commentaire:
Enregistrer un commentaire