Dont use fail
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user