vert-x3 / vertx-web

HTTP web applications for Vert.x
Apache License 2.0
1.11k stars 535 forks source link

Let the body handler correctly log the decoder exception #2587

Closed vietj closed 8 months ago

vietj commented 8 months ago

The BodyHandler does not correctly handler max form limits and does not log correctly the decoder exception, assuming incorrectly that the decoder exception always contains a cause.

Change: only unwrap the cause to log when there is actually one.