mojarra
mojarra copied to clipboard
FaceletViewHandlingStrategy handleRenderException log exception before rethrow
trafficstars
Describe the bug
FaceletViewHandlingStrategy.handleRenderException line 944
- logs the exception at
SEVERELevel - then rethow with a custom algorithm
Expected behavior
- logs the exception at
FINELevel - rethrow it as a
FacesException
Related: https://github.com/eclipse-ee4j/mojarra/issues/5404
- Level is fixed, it indeed caused duplicate logs (as the container by default indeed already deals with it).
- Rethrow is correct as it is, so nothing changed there.