diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-03-16 20:12:22 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-03-16 20:13:03 -0700 |
commit | f1b45e2f44f45122313abc88e139d49c0e39c7b7 (patch) | |
tree | c2dd95d57cd3fe3c977640661f5820db67be96a1 | |
parent | 3c6aee0e33c53d0f270b1ceb40efe6ed29fa9232 (diff) | |
download | raindrops-f1b45e2f44f45122313abc88e139d49c0e39c7b7.tar.gz |
Those will cause Aggregate to raise Errno::EDOM
-rw-r--r-- | lib/raindrops/watcher.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/raindrops/watcher.rb b/lib/raindrops/watcher.rb index f289970..8167dfd 100644 --- a/lib/raindrops/watcher.rb +++ b/lib/raindrops/watcher.rb @@ -243,6 +243,11 @@ class Raindrops::Watcher else not_found end + rescue Errno::EDOM + raise if defined?(retried) + retried = true + wait_snapshot + retry end def not_found |