aws-xray 0.16.2 → 0.16.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws/xray/cause.rb +1 -1
- data/lib/aws/xray/error.rb +3 -2
- data/lib/aws/xray/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: efddd11613513c31deae81a7c19e585c27561d65
|
4
|
+
data.tar.gz: 634485ac1a3a2d4f1c64b20feb639e7b4a1f8f44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8f496597a77629249e31d91c238235bffa6e9429ee86335a94db18936f41ec6dd22e7de96c69330d6cd509474e9609cef23da4911cb9454dc2576f90e7437c21
|
7
|
+
data.tar.gz: 1515645eba3847d0fe33d00f941a52bcd3c962adecffb4ebc637967fd6b15621d2e3366d1d7a2d0415b8e9f981c52dc53517088ff1609bdb3f617d9e6c76f10e
|
data/lib/aws/xray/cause.rb
CHANGED
data/lib/aws/xray/error.rb
CHANGED
@@ -26,9 +26,10 @@ module Aws
|
|
26
26
|
# TODO: Setting cause API. Downstream API's exception?
|
27
27
|
# TODO: paths.
|
28
28
|
def build_cause_from_exception(e, remote)
|
29
|
-
|
29
|
+
working_directory = (Dir.pwd + '/') rescue '/'
|
30
|
+
truncated, stack = build_stack(e, working_directory)
|
30
31
|
{
|
31
|
-
working_directory:
|
32
|
+
working_directory: working_directory,
|
32
33
|
paths: [],
|
33
34
|
exceptions: [
|
34
35
|
id: SecureRandom.hex(8),
|
data/lib/aws/xray/version.rb
CHANGED