Open
Description
The handling/reporting of failed tasks due to PHP errors and exceptions is completely arbitrary.
e.g.
if an action callback runs preg_match( 'invalid', 'abc' );
it reports an E_WARNING (actually PHP error logs it, since the error handler of as doesn't include that error type) but the action is not reported as failed.
if an action callback runs e.g.
function foo( string $a ) {}
foo( null );
it will catch the throwable and report it as failed.
As #1247 correctly states, error handling can be simplified a lot, but first it has to be decided what actually should count as failure
Metadata
Metadata
Assignees
Labels
No labels