You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHP Fatal error: Uncaught exception 'Spork\Exception\ForkException' with message 'An unknown error occurred in "<anonymous> batch" fork (13677)' in /home/matthew.janiszewski/source/spork/src/Spork/Fork.php:91
If I comment out sleep(1); in the example above, I get the predictable message:
PHP Fatal error: Uncaught exception 'Spork\Exception\ForkException' with message 'Exception (0) thrown in "<anonymous> batch #0" fork (14551): "This message should be shown" (/home/matthew.janiszewski/source/spork/error_test.php:31) via "<anonymous> batch" fork (14550)' in /home/matthew.janiszewski/source/spork/src/Spork/Fork.php:91
Ideally, in both cases "This message should be shown" should be displayed, rather than only in the latter case.
The text was updated successfully, but these errors were encountered:
Using the following code (sans namespaces and autoloader config):
I get the following output (sans stack-trace):
If I comment out
sleep(1);
in the example above, I get the predictable message:Ideally, in both cases
"This message should be shown"
should be displayed, rather than only in the latter case.The text was updated successfully, but these errors were encountered: