From aab8e85f9de69e98e0629341bb5abdb4dbec509a Mon Sep 17 00:00:00 2001 From: ethicalhack3r Date: Thu, 31 Jul 2014 15:31:07 +0200 Subject: [PATCH] Implement FireFart's feedback --- lib/common/common_helper.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/common/common_helper.rb b/lib/common/common_helper.rb index ad3144e0..3edcb515 100644 --- a/lib/common/common_helper.rb +++ b/lib/common/common_helper.rb @@ -151,7 +151,8 @@ def json(file) begin JSON.parse(content) rescue => e - raise "[ERROR] In JSON file parsing #{file} #{e} #{e.backtrace}" + fail "[ERROR] In JSON file parsing #{file} #{e}" + raise end end