web-publisher icon indicating copy to clipboard operation
web-publisher copied to clipboard

Add extra catch-block for TypeErrors

Open NonSparkly opened this issue 10 months ago • 0 comments

Reasons

In php 8.0 internal functions now throw errors instead of warnings which aren't getting caught by the normal catch block exception. So here we add a specific catch block for the TypeError so that the old behaviour is somewhat restored.

Proposed Changes

Add TypeError catch to the evaluation calls in the RulesProcessor.

License: AGPLv3

NonSparkly avatar Apr 02 '24 12:04 NonSparkly