From ac90ad01293562d4ea39908fd366a368b8420d3a Mon Sep 17 00:00:00 2001 From: ethicalhack3r Date: Thu, 31 Jul 2014 15:39:48 +0200 Subject: [PATCH] Dont use fail --- lib/common/common_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common/common_helper.rb b/lib/common/common_helper.rb index 9e9815fc..38b4e0d7 100644 --- a/lib/common/common_helper.rb +++ b/lib/common/common_helper.rb @@ -151,7 +151,7 @@ def json(file) begin JSON.parse(content) rescue => e - fail "In JSON file parsing #{file} #{e}" + puts "[ERROR] In JSON file parsing #{file} #{e}" raise end end