pebbles-river 0.1.9 → 0.1.10
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/pebbles/river/version.rb +1 -1
- data/lib/pebbles/river/worker.rb +4 -0
- metadata +1 -1
data/lib/pebbles/river/worker.rb
CHANGED
@@ -181,6 +181,10 @@ module Pebbles
|
|
181
181
|
end
|
182
182
|
|
183
183
|
@river.disconnect
|
184
|
+
rescue Timeout::Error
|
185
|
+
if @logger
|
186
|
+
@logger.error("Timeout polling for messages (ignoring)")
|
187
|
+
end
|
184
188
|
rescue => exception
|
185
189
|
if @logger
|
186
190
|
@logger.error("Exception (#{exception.class}) while handling message: #{exception}")
|