diff options
Diffstat (limited to 'lib/raindrops/watcher.rb')
-rw-r--r-- | lib/raindrops/watcher.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/raindrops/watcher.rb b/lib/raindrops/watcher.rb index 6ecd3ed..6d965a5 100644 --- a/lib/raindrops/watcher.rb +++ b/lib/raindrops/watcher.rb @@ -228,6 +228,7 @@ class Raindrops::Watcher end def get(env) + retried = false case env["PATH_INFO"] when "/" index @@ -247,7 +248,7 @@ class Raindrops::Watcher not_found end rescue Errno::EDOM - raise if defined?(retried) + raise if retried retried = true wait_snapshot retry |