In a case where DEBUG-level logging yields the following, the response
that is sent to the client does not include the message at all. It
comes back blank, all you get is the 500. And the log level, as you
see, is DEBUG. Thus, is a confused client misspells some JSON, it's
all quite mysterious.

Should this message be WARN? Is there some sort of component I can
toss in to get the message into the payload? One issue: when I was
testing this, I had 'accept: application/json', which perhaps
dissuaded something from sending back any non-json content.


2012-09-29 18:59:04,363 [http-bio-15000-exec-1] DEBUG
org.apache.cxf.jaxrs.impl.WebApplicationExceptionMapper -
WebApplicationException has been caught, status: 500, message:
Unrecognized field "languageDetectionOptions" (Class
com.basistech.rlp.ws.PlainTextInputOptions), not marked as ignorable

Reply via email to