eventq_rabbitmq 1.7.2 → 1.7.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 767412c5971d855ad34af83d3869bdda01341820
4
- data.tar.gz: 2acd837a7604a2f9907b7012b14bed7230106cc5
3
+ metadata.gz: a29e15bfdb0d36a3f18a4d84da6131958845f2c6
4
+ data.tar.gz: 46b65ea667a0265e70be37c966117c00cd8621fb
5
5
  SHA512:
6
- metadata.gz: 9b8caf745fedbd311374be05da9c3bdce42e2ffb4db92425b2e56d0fd8c48cbc7044c864c5b9983de2ee8a549609868db3cdc1901b98117df8641af36abb0e7f
7
- data.tar.gz: e97fd1b27a3c0e4c916b91e49d1533f1863d1ecd3252b9e59cd0d981cd818ca9b1bbe1dfeae45c1b6ca52c173ccd5352ba25d0cfc4405afca1edadb524c815ec
6
+ metadata.gz: 9e161d4db3885dcfac0df4af56b1233fcfd45b1b21cad3565390dda92538c2bd5a8d2991ab56ddca63de718aad25de3a4531942d6437112b6cd541452158b547
7
+ data.tar.gz: fd07797de5793e975aa3291a39cfead251439b921d37170cbd7d0d8814fd59844f3d3e5be7cc212e8058b06eed6b5b27f1b988fa90046cbfb167513897c546c5
@@ -20,10 +20,10 @@ module EventQ
20
20
 
21
21
  configure(queue, options)
22
22
 
23
- raise 'Worker is already running.' if running?
23
+ raise "[#{self.class}] - Worker is already running." if running?
24
24
 
25
25
  if options[:client] == nil
26
- raise ':client (QueueClient) must be specified.'
26
+ raise "[#{self.class}] - :client (QueueClient) must be specified."
27
27
  end
28
28
 
29
29
  EventQ.log(:info, "[#{self.class}] - Listening for messages.")
@@ -135,7 +135,7 @@ module EventQ
135
135
  end
136
136
 
137
137
  rescue => e
138
- EventQ.log(:error, "[#{self.class}] - An unhandled error happened attempting to process a queue message. Error: #{e}")
138
+ EventQ.log(:error, "[#{self.class}] - An unhandled error happened attempting to process a queue message. Error: #{e.backtrace}")
139
139
 
140
140
  error = true
141
141
 
@@ -147,8 +147,8 @@ module EventQ
147
147
 
148
148
  end
149
149
 
150
- rescue Timeout::Error
151
- EventQ.log(:error, "[#{self.class}] - Timeout occurred attempting to pop a message from the queue.")
150
+ rescue => e
151
+ EventQ.log(:error, "[#{self.class}] - An error occurred attempting to pop a message from the queue. Error: #{e.backtrace}")
152
152
  end
153
153
 
154
154
  channel.close
@@ -1,3 +1,3 @@
1
1
  module EventqRabbitmq
2
- VERSION = "1.7.2"
2
+ VERSION = "1.7.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eventq_rabbitmq
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.2
4
+ version: 1.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - vaughanbrittonsage