opswalrus 1.0.83 → 1.0.85
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/opswalrus/app.rb +10 -3
- data/lib/opswalrus/version.rb +1 -1
- 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: a98ac5f7f3dce70141e10defbfb6e6ed50c8f2439e219c4e0af3d2939fa39621
|
4
|
+
data.tar.gz: 81098411ad23c3175055066dd75781aa45ce2672ee03f0367e66f5bcc5a22f7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b5379e9a9a8b257676babc472070c8c27565fd139dee985a29982b4e154bf41ab1570a23cb121fbbf54f49259811b378acfd6b69d80823a8117a4cb8b320a16
|
7
|
+
data.tar.gz: 394e28ccc7db130788c358cf68c40554b1c34507b18f67fbe2f2a930947b144154c8b9e305f327711d61eb55d980e788248b2e472af5598dfd5446c0fd6db572
|
data/Gemfile.lock
CHANGED
data/lib/opswalrus/app.rb
CHANGED
@@ -239,7 +239,9 @@ module OpsWalrus
|
|
239
239
|
puts output
|
240
240
|
exit_status
|
241
241
|
rescue Error => e
|
242
|
-
|
242
|
+
message = "Runtime error: #{e.message}"
|
243
|
+
puts message
|
244
|
+
print_script_result(message)
|
243
245
|
1
|
244
246
|
end
|
245
247
|
|
@@ -269,7 +271,9 @@ module OpsWalrus
|
|
269
271
|
|
270
272
|
exit_status
|
271
273
|
rescue Error => e
|
272
|
-
|
274
|
+
message = "Runtime error: #{e.message}"
|
275
|
+
puts message
|
276
|
+
print_script_result(message)
|
273
277
|
1
|
274
278
|
ensure
|
275
279
|
FileUtils.remove_entry(tmp_bundle_root_dir) if tmp_bundle_root_dir
|
@@ -299,7 +303,9 @@ module OpsWalrus
|
|
299
303
|
|
300
304
|
exit_status
|
301
305
|
rescue Error => e
|
302
|
-
|
306
|
+
message = "Runtime error: #{e.message}"
|
307
|
+
puts message
|
308
|
+
print_script_result(message)
|
303
309
|
1
|
304
310
|
ensure
|
305
311
|
FileUtils.remove_entry(tmp_bundle_root_dir) if tmp_bundle_root_dir
|
@@ -307,6 +313,7 @@ module OpsWalrus
|
|
307
313
|
|
308
314
|
def print_script_result(result)
|
309
315
|
if script_mode?
|
316
|
+
SemanticLogger.flush
|
310
317
|
output = StringIO.open do |io|
|
311
318
|
io.puts SCRIPT_RESULT_HEADER
|
312
319
|
io.puts JSON.pretty_generate(result.value)
|
data/lib/opswalrus/version.rb
CHANGED