eclipse-ee4j / mojarra

Mojarra, a Jakarta Faces implementation
Other
165 stars 112 forks source link

FaceletViewHandlingStrategy handleRenderException log exception before rethrow #5449

Closed pizzi80 closed 1 month ago

pizzi80 commented 6 months ago

Describe the bug

FaceletViewHandlingStrategy.handleRenderException line 944

1) logs the exception at SEVERE Level 2) then rethow with a custom algorithm

Expected behavior

1) logs the exception at FINE Level 2) rethrow it as a FacesException

BalusC commented 2 months ago

Related: https://github.com/eclipse-ee4j/mojarra/issues/5404

BalusC commented 2 months ago
  1. Level is fixed, it indeed caused duplicate logs (as the container by default indeed already deals with it).
  2. Rethrow is correct as it is, so nothing changed there.