griffin-interceptors 0.1.3 → 0.1.4

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: 44931daac47e027dda4824ff9ef050e64427557c
4
- data.tar.gz: d02f1b7c5df48e21bde3bfbb79cb06d45555d4af
3
+ metadata.gz: fe0fd2e86343914ca2f2f4a6716c415a2ac24936
4
+ data.tar.gz: 4932bb8474d59d681889c86a607eb1f1c76c1758
5
5
  SHA512:
6
- metadata.gz: 5a35b4ac309ea4ce377e308ed031b7e88c7a9474a3ca33c3dd5cb360ce51f4041e048a5b111b3534a4fbc0fe2e5374e57151342290a21e98c6ca7e892f05f953
7
- data.tar.gz: 05fc0215d7cfabe7b8266bc49e07aeff2d42f143a72717ba237deb369cf10585d7c6e7a13d16db249757cfd5952050502ef0a1c187ac16b3ce552b6c6e2ccf3a
6
+ metadata.gz: 1f2da5faf64741eaf1455fc209443fb5c2a99310fb39a23d27f949024d74b005692e027262d5b3a69d0b56be57b5f66350113b4810a899881a6697388bb0fb44
7
+ data.tar.gz: 3a726be452970dffe6a7b0bb9117069352ae4d4a5e3d5a1442669a492518855fd28f04f729b63d4da46a4afa7de4c0796f108be59a1b6f96dca1048f23b49389
@@ -29,9 +29,11 @@ module Griffin
29
29
  NewRelic::Agent::Transaction.start(state, :controller, transaction_name: "Controller/#{transaction_name}", request: req)
30
30
 
31
31
  begin
32
- yield
32
+ resp = yield
33
33
  # gRPC alway returns HTTP status code 200
34
34
  state.current_transaction.http_response_code = '200'
35
+
36
+ resp
35
37
  rescue => e
36
38
  NewRelic::Agent::Transaction.notice_error(e)
37
39
  raise e
@@ -1,5 +1,5 @@
1
1
  module Griffin
2
2
  module Interceptors
3
- VERSION = '0.1.3'.freeze
3
+ VERSION = '0.1.4'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: griffin-interceptors
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuta Iwama
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-01-04 00:00:00.000000000 Z
11
+ date: 2019-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: griffin