cottontail 0.1.4 → 0.1.5
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/cottontail.rb +2 -2
- data/lib/cottontail/version.rb +1 -1
- metadata +2 -2
data/lib/cottontail.rb
CHANGED
|
@@ -198,7 +198,7 @@ module Cottontail
|
|
|
198
198
|
|
|
199
199
|
# enter the subscribe loop
|
|
200
200
|
subscribe!( queue )
|
|
201
|
-
rescue => e
|
|
201
|
+
rescue Exception => e
|
|
202
202
|
@client.stop if @client
|
|
203
203
|
reset!
|
|
204
204
|
|
|
@@ -259,7 +259,7 @@ module Cottontail
|
|
|
259
259
|
# @param [Message] m The RabbitMQ message to be handled
|
|
260
260
|
def with_error_handling!( m, &block )
|
|
261
261
|
block.call(self, m)
|
|
262
|
-
rescue => err
|
|
262
|
+
rescue Exception => err
|
|
263
263
|
@last_error = err
|
|
264
264
|
|
|
265
265
|
if block = self.class.error_for(err.class)
|
data/lib/cottontail/version.rb
CHANGED
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: cottontail
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 0.1.
|
|
5
|
+
version: 0.1.5
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Rudolf Schmidt
|
|
@@ -10,7 +10,7 @@ autorequire:
|
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
12
|
|
|
13
|
-
date: 2012-03-
|
|
13
|
+
date: 2012-03-19 00:00:00 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: bunny
|