Dont use fail

This commit is contained in:
ethicalhack3r
2014-07-31 15:39:48 +02:00
parent 6b61e273a0
commit ac90ad0129

View File

@@ -151,7 +151,7 @@ def json(file)
begin begin
JSON.parse(content) JSON.parse(content)
rescue => e rescue => e
fail "In JSON file parsing #{file} #{e}" puts "[ERROR] In JSON file parsing #{file} #{e}"
raise raise
end end
end end