perf_check 0.1.14 → 0.1.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/perf_check +2 -2
- 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: ab0eccd6e9187d8c107b9debbe70a00c61ef7590
|
4
|
+
data.tar.gz: a17ee262a69c88755f0d3a43324c4422ba9163dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 302134bbe13ae45661a415d0b29ea6bc81df0345040ea028f0bddf8cb354b73c3594efc93c5ab4e610d5bdd8216566b6917750b2e767974fb08962b628c1afbc
|
7
|
+
data.tar.gz: 393a491805a0f2559e82c94017a8144817e4c094bf3d0271e331ca10d86d193313631852374ce9c5d23286c782156e65fcd669b56d201cdf0e822c49bf896724
|
data/bin/perf_check
CHANGED
@@ -147,11 +147,11 @@ begin
|
|
147
147
|
rescue error
|
148
148
|
ensure
|
149
149
|
cbdata = {}
|
150
|
-
|
150
|
+
if error
|
151
151
|
cbdata[:error_message] = "#{error.class}: #{error.message}\n"
|
152
152
|
cbdata[:error_message] << error.backtrace.map{|x| "\t#{x}"}.join("\n")
|
153
153
|
end
|
154
|
-
perf_check.trigger_when_finished_callback(
|
154
|
+
perf_check.trigger_when_finished_callback(cbdata)
|
155
155
|
raise error if error
|
156
156
|
end
|
157
157
|
|