NoMethodError undefined method `body' for nil:NilClass on Net::ReadTimeout error
Closed this issue · 2 comments
laurynas commented
When logging is enabled and Net::ReadTimeout
error occurs, do_request_with_log
method raises NoMethodError
error because res
is nil
.
https://github.com/Mangopay/mangopay2-ruby-sdk/blob/master/lib/mangopay.rb#L223
mangomaxoasis commented
Hi @laurynas,
Looking into it, we'll keep you updated
mangomaxoasis commented
Hi @laurynas
Fix in latest version of SDK
Cheers,
Max