mojarra icon indicating copy to clipboard operation
mojarra copied to clipboard

FaceletViewHandlingStrategy handleRenderException log exception before rethrow

Open pizzi80 opened this issue 1 year ago • 2 comments
trafficstars

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

pizzi80 avatar May 23 '24 11:05 pizzi80

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

BalusC avatar Sep 17 '24 16:09 BalusC

  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.

BalusC avatar Sep 17 '24 16:09 BalusC