Skip to content

Commit

Permalink
remove useless part rescue EOFError since it's being catched at line …
Browse files Browse the repository at this point in the history
…82 (EOFError is a child class of IOError)
  • Loading branch information
Julien Dumas committed Mar 3, 2018
1 parent b86389e commit 03a71a2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/rb-fsevent/fsevent.rb
Expand Up @@ -79,8 +79,6 @@ def run
callback.call(modified_paths, decoded)
end
end
rescue EOFError
sleep 1
rescue Interrupt, IOError, Errno::EBADF
ensure
stop
Expand Down

0 comments on commit 03a71a2

Please sign in to comment.