coaster 1.4.24 → 1.4.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/coaster/core_ext/standard_error.rb +1 -0
- data/lib/coaster/version.rb +1 -1
- data/test/test_standard_error.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 334fabecc9ae88648f053e632d2cf14ab89392ef72452cc3663c52577cd4638d
|
4
|
+
data.tar.gz: fd819e22b3be08a926e682865926801562ec80d6f0ecbaf5dc12dcaaf790083e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5ed501bfb5a0f40f9c2c5acc074780132a4520be5f2a090678c9d7b1be630a23ee3fda29ec882ac8fdbaa3e96c33b4dfeeca205715feb7116cdfdb62b94eb97
|
7
|
+
data.tar.gz: 41f07e2a41c089aaa70358f53934cd56d257158f8cfb3b8713ca6e5cfdc36982a09ce8c9ec6423d02e9dbd7162509586e4566e93edfe47efa07dc9a6557bbddc
|
@@ -234,6 +234,7 @@ class StandardError
|
|
234
234
|
http_status: http_status, message: message,
|
235
235
|
instance_variables: {}.with_indifferent_access
|
236
236
|
)
|
237
|
+
digest_backtrace # for @digest_backtrace
|
237
238
|
instance_variables.sort.each do |var|
|
238
239
|
if inspection_vars.include?(var)
|
239
240
|
val = instance_variable_get(var)
|
data/lib/coaster/version.rb
CHANGED
data/test/test_standard_error.rb
CHANGED
@@ -213,7 +213,7 @@ module Coaster
|
|
213
213
|
MESSAGE: Test example error (Coaster::TestStandardError::ExampleError) cause{Test sample error (Coaster::TestStandardError::SampleError)}
|
214
214
|
@attributes: {\"frog\"=>\"rams\", \"wat\"=>\"cha\"}
|
215
215
|
@coaster: true
|
216
|
-
@digest_backtrace:
|
216
|
+
@digest_backtrace: #{e.digest_backtrace}
|
217
217
|
@digest_message: a8c7c1
|
218
218
|
@fingerprint: ["a8c7c1"]
|
219
219
|
@ins_var: [\"Coaster::TestStandardError::SampleError\", {\"h\"=>1}]
|
@@ -231,7 +231,7 @@ CAUSE: [Coaster::TestStandardError::SampleError] status:10
|
|
231
231
|
MESSAGE: Test sample error (Coaster::TestStandardError::SampleError)
|
232
232
|
@attributes: {"frog"=>"rams"}
|
233
233
|
@coaster: true
|
234
|
-
@digest_backtrace:
|
234
|
+
@digest_backtrace: #{e.cause.digest_backtrace}
|
235
235
|
@digest_message: cbe233
|
236
236
|
@fingerprint: ["cbe233"]
|
237
237
|
@level: "error"
|