From cda0b6e9620024b5685eb39ed0a5fbe62890ca40 Mon Sep 17 00:00:00 2001 From: Max De Marzi Date: Tue, 7 Aug 2012 12:30:53 -0500 Subject: [PATCH] Update lib/neography/multi_json_parser.rb OJ complains about an ArgumentError, so rescuing that too. --- lib/neography/multi_json_parser.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/neography/multi_json_parser.rb b/lib/neography/multi_json_parser.rb index 19eb409..9d8646c 100644 --- a/lib/neography/multi_json_parser.rb +++ b/lib/neography/multi_json_parser.rb @@ -11,7 +11,7 @@ class MultiJsonParser < HTTParty::Parser def json begin MultiJson.load(body) - rescue MultiJson::DecodeError + rescue MultiJson::DecodeError, ArgumentError case when body == "true" true