I need to capture a PathParan value when DeserializationException is throw


We have a problem happening in one of our Service Calls; A client is sending us an invalid JSON request that throws a DeserializationException. To know which client has the problem, we need to capture a path parameter.

This is exception is being thrown in the ScalaDslServiceRouter before reaching any of our code.

Is there a way to log the request before reaching the router? Any other ideas?

Thanks in advance