super-poller 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/super_poller/poller.rb +1 -3
  2. metadata +2 -2
@@ -14,9 +14,7 @@ class SuperPoller::Poller
14
14
  protected
15
15
  def get_message
16
16
  @queue.pop
17
- rescue Interrupt
18
- raise
19
- rescue Object => e
17
+ rescue => e
20
18
  STDERR.puts "Error while fetching from the queue: #{e.class}: #{e.message}"
21
19
  sleep 10
22
20
  retry
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 2
9
- version: 0.1.2
8
+ - 3
9
+ version: 0.1.3
10
10
  platform: ruby
11
11
  authors:
12
12
  - Tom Lea