govuk_message_queue_consumer 2.0.0 → 2.0.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35f5b177e277ec11d5aea2811c4e1ef6e2dd4886
|
4
|
+
data.tar.gz: 54050cbbc46013a6bcdaed24eb5c21966e99b8b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00d5f07c06e4063bc7b06b9d52e7d96464cf59c024bd80fc7770d6780013a7b8bb587b98cc500edf0066e390055215f0eb2e55f36fb7e788d124216378d329df
|
7
|
+
data.tar.gz: a93529d6ef53a6db31e199f946b51b0e7aa971291dc725915a351f3f4d09a3f788513594074beeee9ae4e2d914695713e48c3d6168ea71ee00675f47fd8e0fca
|
@@ -24,8 +24,9 @@ module GovukMessageQueueConsumer
|
|
24
24
|
message = Message.new(payload, headers, delivery_info)
|
25
25
|
processor_chain.process(message)
|
26
26
|
rescue Exception => e
|
27
|
-
|
28
|
-
|
27
|
+
Airbrake.notify_or_ignore(e) if defined?(Airbrake)
|
28
|
+
$stderr.puts "Uncaught exception in processor: \n\n #{e.class}: #{e.message}\n\n#{e.backtrace}"
|
29
|
+
exit(1) # Ensure rabbitmq requeues outstanding messages
|
29
30
|
end
|
30
31
|
end
|
31
32
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: govuk_message_queue_consumer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GOV.UK Dev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bunny
|