google-cloud-trace 0.41.1 → 0.41.2
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2cd810b8a33959481b67b8a9d33cec11ab24f87530d54f98ebf6ae57fe504077
|
4
|
+
data.tar.gz: '08ae511b4cc58931c5355792dd1ffbec2c46bba190fe30be0aeed0a33ef49d3f'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89e5004427d42e9a77d3984949f291ca6a9e874847876a85c9d944a221e6558e49229d8c9b8f1a9516c041c38521c59b609e0d80abf25c00f15085f82c72cae7
|
7
|
+
data.tar.gz: beca6e775429ad2cc818f36e51199e359bd4efabc7e18391fcbaeb4592a20887ff486ce0fa9bb35e5c0445ee338594855845fb42e3c56fce080ebe0c8eef2bef
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# Release History
|
2
2
|
|
3
|
+
### 0.41.2 / 2021-06-22
|
4
|
+
|
5
|
+
#### Bug Fixes
|
6
|
+
|
7
|
+
* Error reporting no longer fails due to loading the wrong constant
|
8
|
+
* Fixed a crash in the gRPC patch when no span is present in the current trace
|
9
|
+
|
3
10
|
### 0.41.1 / 2021-06-17
|
4
11
|
|
5
12
|
#### Bug Fixes
|
@@ -282,7 +282,7 @@ module Google
|
|
282
282
|
def default_error_callbacks
|
283
283
|
# This is memoized to reduce calls to the configuration.
|
284
284
|
@default_error_callbacks ||= begin
|
285
|
-
error_callback = Google::Cloud::
|
285
|
+
error_callback = Google::Cloud::Trace.configure.on_error
|
286
286
|
error_callback ||= Google::Cloud.configure.on_error
|
287
287
|
if error_callback
|
288
288
|
[error_callback]
|
@@ -68,7 +68,7 @@ module GRPC
|
|
68
68
|
def run_batch *args
|
69
69
|
span = Google::Cloud::Trace.get
|
70
70
|
# Make sure we're in a "gRPC request" span
|
71
|
-
span = nil if span
|
71
|
+
span = nil if !span.respond_to?(:name) || span.name != GRPC::ActiveCallWithTrace::SPAN_NAME
|
72
72
|
|
73
73
|
if span && !args.empty?
|
74
74
|
message = args[0]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-trace
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.41.
|
4
|
+
version: 0.41.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Azuma
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-06-
|
11
|
+
date: 2021-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-cloud-core
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: '5.
|
103
|
+
version: '5.14'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: '5.
|
110
|
+
version: '5.14'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: minitest-autotest
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|