eventq_aws 1.3.2 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/eventq_aws/aws_queue_worker.rb +4 -4
- data/lib/eventq_aws/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b24d3a5c26b90e08fc399303f638eebcc955af55
|
4
|
+
data.tar.gz: abb87b86f6acac4d721d6dba6211548db54cae54
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb1992ddf77d398c30a48e98ff9a537d5194ec84e901acedd95aab27a6a9e4aad09d531ac169f6b7e958059de551f3ca12e60f8a5663031fde6d11958c7386f1
|
7
|
+
data.tar.gz: 255c52208685725db52606878f7b7d26b973f6ab6df6f63f5acf55483cdc268b222f03691cb3d08069e3195bf159c95e3ff17b3814f6371df1b4d3a10437de23
|
@@ -22,10 +22,10 @@ module EventQ
|
|
22
22
|
configure(queue, options)
|
23
23
|
|
24
24
|
if options[:client] == nil
|
25
|
-
raise
|
25
|
+
raise "[#{self.class}] - :client (QueueClient) must be specified."
|
26
26
|
end
|
27
27
|
|
28
|
-
raise
|
28
|
+
raise "[#{self.class}] - Worker is already running." if running?
|
29
29
|
|
30
30
|
EventQ.log(:info, "[#{self.class}] - Listening for messages.")
|
31
31
|
|
@@ -140,7 +140,7 @@ module EventQ
|
|
140
140
|
end
|
141
141
|
|
142
142
|
rescue => e
|
143
|
-
EventQ.log(:error, "[#{self.class}] - An unhandled error happened while attempting to process a queue message. Error: #{e}")
|
143
|
+
EventQ.log(:error, "[#{self.class}] - An unhandled error happened while attempting to process a queue message. Error: #{e.backtrace}")
|
144
144
|
|
145
145
|
error = true
|
146
146
|
|
@@ -154,7 +154,7 @@ module EventQ
|
|
154
154
|
end
|
155
155
|
|
156
156
|
rescue => e
|
157
|
-
EventQ.log(:error, "[#{self.class}] - An error occurred attempting to retrieve a message from the queue. Error: #{e}")
|
157
|
+
EventQ.log(:error, "[#{self.class}] - An error occurred attempting to retrieve a message from the queue. Error: #{e.backtrace}")
|
158
158
|
end
|
159
159
|
|
160
160
|
GC.start
|
data/lib/eventq_aws/version.rb
CHANGED