eio icon indicating copy to clipboard operation
eio copied to clipboard

How do you gracefully handle eio errrors, ie. file you want to stat doesn't exist?

Open mirek opened this issue 13 years ago • 0 comments

Currently the whole EM flips over:

/Library/Ruby/Gems/1.8/gems/eio-0.1/lib/eio/eventmachine.rb:13:in `poll': No such file or directory - /test/testfile (Errno::ENOENT)
    from /Library/Ruby/Gems/1.8/gems/eio-0.1/lib/eio/eventmachine.rb:13:in `notify_readable'
    from /Library/Ruby/Gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine'
    from /Library/Ruby/Gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
    from server.rb:7

mirek avatar Apr 15 '12 11:04 mirek