lib/airborne/base.rb in airborne-0.1.6 vs lib/airborne/base.rb in airborne-0.1.7

- old
+ new

@@ -77,11 +77,8 @@ def set_response(res) @response = res @body = res.body @headers = HashWithIndifferentAccess.new(res.headers.deep_symbolize_keys) unless res.headers.nil? - begin - @json_body = JSON.parse(res.body, symbolize_names: true) unless res.body.empty? - rescue - end + @json_body = JSON.parse(res.body, symbolize_names: true) unless res.body.empty? end end