FilterParameters.response doesnt handle cases when the response is not valid json
Closed this issue · 3 comments
IevaGraz commented
Sometimes during network issues a non json response body is returned e.g. '()'. In this case do_request_with_logging method fails, because it relies on FilterParameters.response to parse body to json for filtering.
SoloJr commented
https://github.com/Mangopay/mangopay2-ruby-sdk/pull/160
I am not a ruby dev. I see your point in the question, hope this fixes it