We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When logging is enabled and an API call fail with another exception that Net::ReadTimeout, the following exception is raised:
Net::ReadTimeout
NoMethodError: undefined method '*' for nil (NoMethodError) line += "\n [#{(time * 1000).round(1)}ms] 408 Request Timeout #{params}\n" ^
The cause is the time parameter here is not initialized properly and can nil in the case described above:
time
mangopay2-ruby-sdk/lib/mangopay.rb
Line 287 in 46109ce
The text was updated successfully, but these errors were encountered:
Hello @kaderate, thanks for the feedback. We are looking into it.
Sorry, something went wrong.
Merge pull request #250 from Mangopay/improvement/#226-#249-improve-e…
193cfea
…rror-handling improved error handling and updated tests
Successfully merging a pull request may close this issue.
When logging is enabled and an API call fail with another exception that
Net::ReadTimeout
, the following exception is raised:NoMethodError: undefined method '*' for nil (NoMethodError) line += "\n [#{(time * 1000).round(1)}ms] 408 Request Timeout #{params}\n" ^
The cause is the
time
parameter here is not initialized properly and can nil in the case described above:mangopay2-ruby-sdk/lib/mangopay.rb
Line 287 in 46109ce
The text was updated successfully, but these errors were encountered: