appfuel-service 0.2.2 → 0.2.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: 4af8ac61f5f59fac68c14f37caf84e5747c2af5d
4
- data.tar.gz: 23a24d6c8d3a1c4e276c95eda3fadc46a347ffb6
3
+ metadata.gz: 5e6e26716a41bc96e24a4fa392a5f009df13b086
4
+ data.tar.gz: 47304ef0e571862583697168bc06f1ffa9b928d9
5
5
  SHA512:
6
- metadata.gz: 3e00889574a6a5c335fc6605b8fe8d949397156f2d4dc3f6c3207af18f4e315db40b16e3c34f92f9092898c46bd3fb3675e78f311418822649674540310d90db
7
- data.tar.gz: 12e896552f3419156848467e4e8bb649fdc79bb5fa561526379edf8cfc6c940e8a325433bf1a035852f757053407d56c133e1884a8c9c5f487e2dffb4fb2f90a
6
+ metadata.gz: 77fce7fe90fbb9a1eed3acb05578bb6a1f94427e3d8517c66570fa86e202ee649bc6ed5cbbd9c662c6d0dad946c39c4bc5d772dc3b4308aae759eaecff1e1d7f
7
+ data.tar.gz: 7a233cd0fe3ef6cbf7ca2b30b05b0f9dc67eb949f32aa7e3b8ee12cda45e26411311e558ae186866a3b3c9593431de4728b3c991ec2a420067df203a274e0038
data/CHANGELOG.md CHANGED
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. (Pending ap
5
5
 
6
6
 
7
7
  # Releases
8
+ ## [[0.2.3]](https://github.com/rsb/appfuel/releases/tag/0.2.3) 2017-06-28
9
+ ### Fixed
10
+ - adding basic error logging to queue worker
11
+
8
12
  ## [[0.2.2]](https://github.com/rsb/appfuel/releases/tag/0.2.2) 2017-06-28
9
13
  ### Fixed
10
14
  - invalid reference to `data` in `msg_request` changed to `inputs`
@@ -1,5 +1,5 @@
1
1
  module Appfuel
2
2
  module Service
3
- VERSION = "0.2.2"
3
+ VERSION = "0.2.3"
4
4
  end
5
5
  end
@@ -37,6 +37,11 @@ module Appfuel
37
37
  container = app_container
38
38
  request = create_request(msg, delivery_info, properties)
39
39
  response = dispatch(request, container)
40
+ if response.failure?
41
+ logger = container[:logger]
42
+ logger.error response.error_message
43
+ end
44
+
40
45
  if request.rpc?
41
46
  publish_rpc(request, response)
42
47
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appfuel-service
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Scott-Buccleuch