response.body is sometimes too strange to be parse by JSON, BIS

This commit is contained in:
jules 2015-10-26 11:10:46 +01:00
parent 918cba5c2d
commit 522014fa6a

View file

@ -15,7 +15,7 @@ module GrapeLogging
begin begin
response.body.map{ |body| JSON.parse(body) } response.body.map{ |body| JSON.parse(body) }
rescue => e rescue => e
"" {}
end end
end end
end end