I added this in the Application class to override the existing 
JsonProcessingExceptionMapper, did the trick for my application. The true 
parameter is for "showDetails".

jersey.register(new JsonProcessingExceptionMapper(true));


On Thursday, March 30, 2017 at 9:27:07 AM UTC-5, Rohit Verma wrote:
>
> Hi All,
>
> Is there a way to find out which field of my pojo object caused* Unable 
> to process JSON *error, or is there a way to log jackson exception which 
> cause this error 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"dropwizard-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to