about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--lib/raindrops/watcher.rb5
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