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
Hah that's a good one. Will fix the exception ending up as an resolved promise instead of an rejected one.
The reason it somethings fails is still shrouded in mystery for me. One reason to create the queued invoker was for this. When running all the eio_readdir calls (which perform the ls of a directory) when ever they are invoked they would fail a lot more then running them using a queue. In queue it for some reason barely fails.
I've spend a fair amount of time trying to figure out why it's failing but haven't found it yet. Hence the reason I'm taking this path in order to make it workable.
On PHP 5.5.21 on OSX, this is what sometimes happens when I run (it doesn't always) https://github.com/reactphp/filesystem/blob/master/examples/directory_ls_recursive.php
This is the exception:
If I check to see if
$result
is an array on https://github.com/reactphp/filesystem/blob/master/src/Node/Directory.php#L73, it works, but I'm guessing that it's missing some files or directories when that exception is thrown.The text was updated successfully, but these errors were encountered: