google-cloud-error_reporting 0.33.1 → 0.34.0
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: 06cc4f589b045bf49e940246a4d9022ce46e6857ca7050bf9ecccad67dbd7276
|
4
|
+
data.tar.gz: d9f9c1b3f77c8da711785c74ea798296fd1d0053a5f69e8cc9ad3556307759c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d94375c43c44fdadc9a82496d10626cf04a1211779656bdcb1abf0a43972e04f6b08b7b6cb7e92648afeb8a871b7988206a6e83893dacd6ac13699c2d7552e1
|
7
|
+
data.tar.gz: ee0647df1afd3714ddffec4c0e043dac4afe000637697e18bf2572580fab43b29c099596270837185a96c0e021ad1d862d17862227c3a779f2d86735eeda57e3
|
data/CHANGELOG.md
CHANGED
@@ -213,14 +213,12 @@ module Google
|
|
213
213
|
# from the given exception.
|
214
214
|
def self.from_exception exception
|
215
215
|
backtrace = exception.backtrace
|
216
|
-
message = "#{exception.
|
216
|
+
message = "#{exception.class}: #{exception.message}"
|
217
217
|
|
218
218
|
if !backtrace.nil? && !backtrace.empty?
|
219
|
-
|
219
|
+
message = "#{message}\n\t" + backtrace.join("\n\t")
|
220
220
|
|
221
|
-
|
222
|
-
backtrace.drop(1).join("\n\t")
|
223
|
-
file_path, line_number, function_name = error_location.split ":"
|
221
|
+
file_path, line_number, function_name = backtrace.first.split ":"
|
224
222
|
function_name = function_name.to_s[/`(.*)'/, 1]
|
225
223
|
end
|
226
224
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-error_reporting
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.34.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google Inc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-11-
|
11
|
+
date: 2019-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-cloud-core
|