pebbles-river 0.1.9 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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}")
|