bbk-app 1.0.0.72920 → 1.0.0.78020
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/bbk/app/dispatcher.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f9eea9c07b40ea9f36ee9fe8b30120c6137b1895ce22d495f09e81ce6e9341b
|
4
|
+
data.tar.gz: 4a38088d47030045d0639eab235641050663365b3fb0a3ec407f2a9ea0512507
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e424f3f4fde908aea9364baf0267ef0f0750084f91abaddb1585c251ac2b694b6ea36fc74f7db4ecb77bad1749cec9b3079704f23b96d1d801f9fc75f12fa64
|
7
|
+
data.tar.gz: 6bbc72a886f0931bf89fe0988b5f360ea55e8911c759cc71f3d2d1f0b965f112310168989f2021f42d6e5783ce55eeee58a44b41dfa6a532ad328920eafff1b5
|
data/Gemfile.lock
CHANGED
data/lib/bbk/app/dispatcher.rb
CHANGED
@@ -125,6 +125,7 @@ module BBK
|
|
125
125
|
logger.debug "There are #{results.count} results to send from #{message.headers[:message_id]}..."
|
126
126
|
send_results(message, results).value
|
127
127
|
rescue StandardError => e
|
128
|
+
logger.error "Failed processing message: #{e.inspect}"
|
128
129
|
ActiveSupport::Notifications.instrument 'dispatcher.exception', msg: message, exception: e
|
129
130
|
message.nack(error: e)
|
130
131
|
close if force_quit
|
@@ -139,6 +140,7 @@ module BBK
|
|
139
140
|
processor.call(message, results: results)
|
140
141
|
end
|
141
142
|
rescue StandardError => e
|
143
|
+
logger.error "Failed processing message in processor: #{e.inspect}"
|
142
144
|
if processor.respond_to?(:on_error)
|
143
145
|
results = processor.on_error(message, e)
|
144
146
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bbk-app
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.78020
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Samoilenko Yuri
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-01
|
11
|
+
date: 2022-03-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|