1.2.0 - Match exception rendering groups by code
This release adds another option matchingExceptionCodes
to match rendering Groups by exception codes. This is useful if you need to treat exceptions that don't have their own class in a different way (e.g. disable logging):
Neos:
Flow:
error:
exceptionHandler:
renderingGroups:
ignoredExceptions:
# It is now possible to match against \Throwable::getCode(). Please note that this is not a Flow feature.
# Check \Netlogix\Sentry\ExceptionHandler\ExceptionRenderingOptionsResolver::resolveRenderingGroup() for more info
matchingExceptionCodes: [ 1638880375 ]
options:
logException: false
Although this option is located underneath Neos.Flow.error.exceptionHandler.renderingGroups
it is not a Flow feature!