Closed jswart closed 5 years ago
With the following code:
dispatcher.execute(sendResource.send(object), new RestCallback<Void>() { @Override public void onFailure(final Throwable caught) { consoleLog("a:" + caught.toString()); consoleLog("b:" + caught.getMessage()); } @Override public void onSuccess(final Void result) { //... } @Override public void setResponse(final Response response) { consoleLog("c:" + response.getStatusCode()); consoleLog("t:" + response.getStatusText()); } }); }
I receive this response in debug:
a:com.gwtplatform.dispatch.shared.ActionException: {"code":400,"message":"Could not create job. Contact: support"} b:{"code":400,"message":"Could not create job. Contact: support"} c:400 t:{"code":400,"message":"Could not create job. Contact: support"}
I receive this response in production:
c:400 t: a:com.gwtplatform.dispatch.shared.ActionException: b:
How do I get production to match what I get in local debug mode?
Looks like it's related to something with my servlet code, which makes more sense than it being a bug/issue with gwtp.
With the following code:
I receive this response in debug:
I receive this response in production:
How do I get production to match what I get in local debug mode?