Open hecnabae opened 9 years ago
Dear Contributors, please add more detail to error handlers. When I get some error, it returns 500, even if I add some non-unique value to the table. When I put breakpoints, there is a usefull information, that can be used for processing the error, but by default callback doesn't return it. For example, in RestAdapter.java:
@Override
public void onFailure(int statusCode,
org.apache.http.Header[] headers,
byte[] responseBody,
java.lang.Throwable error) {
resonseBody has has information about what happend, but it didn't used in code: callback.onError(error);
Hello , I get 500 Internal Server Error when trying to save an entity. I'm using the mongodb connector. What can be the cause? Entity :
Android code:
Model:
Thanks in advance!