Hi,
Whle tracing an issue we found on why our 404 Status Code was being
overwritten to a 500 error code, I noticed that the error code is being
overlooked.
So in StatusFilter, it was sets it to a 500
public Status getStatus(Throwable throwable, Request request,
Response response) {
getLogger().log(Level.SEVERE,
"Unhandled exception or error intercepted", throwable);
return new Status(Status.SERVER_ERROR_INTERNAL, throwable); // <--
here
}
Is there a reason why the original status code might be ignored?
Anoop
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2726261