Did not note this, but reason for needing to use Immediate is to ensure that all ERROR observers can be notified of the exception using Handler.withSuppression. As it is currently implemented, the first ERROR observer to throw will stop the loop. They should be stacked into a single UncaughtException for ERROR and thrown afterwards.
Did not note this, but reason for needing to use
Immediate
is to ensure that allERROR
observers can be notified of the exception usingHandler.withSuppression
. As it is currently implemented, the firstERROR
observer to throw will stop the loop. They should be stacked into a singleUncaughtException
forERROR
and thrown afterwards.