mumukit-nuntius 6.3.0 → 6.3.1
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.
- checksums.yaml +4 -4
- data/lib/mumukit/nuntius/event_consumer.rb +3 -3
- data/lib/mumukit/nuntius/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4c255b6de165a624e8515c2393202a3a30f7a08e9663aaab171b29865ddf4063
|
|
4
|
+
data.tar.gz: 33ce0083c8f04e3dae69c7a1e801148cc1b418f9afc80f503684c7bb4af78593
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: de02006aad7b5526224b7f9e37b116cd195e1efc1e22ca5e97c25346d0a0c54196e6fa42a4bb3cb658371f2bcd4ca0756ee61503ed743635db7eaa4847e0f83b
|
|
7
|
+
data.tar.gz: 63bd041fb5c674a2816a5da0d646356054c4e901b1a0d99b3b62c2594f46ca9271e2998d730dc44a8f79b398e2be677e71dd8213af97b215d17a2a05f5695abd
|
|
@@ -48,15 +48,15 @@ module Mumukit::Nuntius::EventConsumer
|
|
|
48
48
|
log_unknown_event event
|
|
49
49
|
end
|
|
50
50
|
rescue => e
|
|
51
|
-
log_exception(event, e)
|
|
51
|
+
log_exception(event, e, body[:data])
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
def log_unknown_event(event)
|
|
55
55
|
Mumukit::Nuntius::Logger.info "Unhandled event: #{event} does not exists."
|
|
56
56
|
end
|
|
57
57
|
|
|
58
|
-
def log_exception(event, e)
|
|
59
|
-
Mumukit::Nuntius::Logger.error "Failed to proccess #{event}, error was: #{e}"
|
|
58
|
+
def log_exception(event, e, body)
|
|
59
|
+
Mumukit::Nuntius::Logger.error "Failed to proccess #{event}, error was: #{e}, body was: #{body}"
|
|
60
60
|
end
|
|
61
61
|
end
|
|
62
62
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mumukit-nuntius
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 6.3.
|
|
4
|
+
version: 6.3.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Agustin Pina
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2019-
|
|
12
|
+
date: 2019-11-29 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|
|
@@ -121,7 +121,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
121
121
|
- !ruby/object:Gem::Version
|
|
122
122
|
version: '0'
|
|
123
123
|
requirements: []
|
|
124
|
-
|
|
124
|
+
rubyforge_project:
|
|
125
|
+
rubygems_version: 2.7.7
|
|
125
126
|
signing_key:
|
|
126
127
|
specification_version: 4
|
|
127
128
|
summary: Library for working with rabbit queues
|