You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Noticed this using Savon - the error appears to affect only the 0.8.0 release.
In the 0.7.x series, HTTPI::Adapter would use the HTTPI.log proxy logging method, which takes an argument splat. In 0.8.0, it uses HTTPI.logger.warn which takes only one argument - since two strings are still being passed, an ArgumentError is raised.
ArgumentError: wrong number of arguments (2 for 1)
from .../vendor/bundler_gems/ruby/1.8/gems/httpi-0.8.0/lib/httpi/adapter.rb:60:in `warn'
from .../vendor/bundler_gems/ruby/1.8/gems/httpi-0.8.0/lib/httpi/adapter.rb:60:in `load_adapter'
from .../vendor/bundler_gems/ruby/1.8/gems/httpi-0.8.0/lib/httpi/adapter.rb:45:in `find'
from .../vendor/bundler_gems/ruby/1.8/gems/httpi-0.8.0/lib/httpi.rb:186:in `with_adapter'
from .../vendor/bundler_gems/ruby/1.8/gems/httpi-0.8.0/lib/httpi.rb:84:in `get'
from .../vendor/bundler_gems/ruby/1.8/gems/savon-0.8.6/lib/savon/wsdl/request.rb:21:in `response'
from .../vendor/bundler_gems/ruby/1.8/gems/savon-0.8.6/lib/savon/wsdl/request.rb:30:in `with_logging'
from .../vendor/bundler_gems/ruby/1.8/gems/savon-0.8.6/lib/savon/wsdl/request.rb:21:in `response'
from .../vendor/bundler_gems/ruby/1.8/gems/savon-0.8.6/lib/savon/wsdl/document.rb:93:in `http_request'
from .../vendor/bundler_gems/ruby/1.8/gems/savon-0.8.6/lib/savon/wsdl/document.rb:77:in `document'
from .../vendor/bundler_gems/ruby/1.8/gems/savon-0.8.6/lib/savon/wsdl/document.rb:105:in `parser'
from .../vendor/bundler_gems/ruby/1.8/gems/savon-0.8.6/lib/savon/wsdl/document.rb:38:in `endpoint'
from .../vendor/bundler_gems/ruby/1.8/gems/savon-0.8.6/lib/savon/client.rb:108:in `preconfigure'
from .../vendor/bundler_gems/ruby/1.8/gems/savon-0.8.6/lib/savon/client.rb:74:in `request'
The text was updated successfully, but these errors were encountered:
Noticed this using Savon - the error appears to affect only the 0.8.0 release.
In the 0.7.x series,
HTTPI::Adapter
would use theHTTPI.log
proxy logging method, which takes an argument splat. In 0.8.0, it usesHTTPI.logger.warn
which takes only one argument - since two strings are still being passed, anArgumentError
is raised.The text was updated successfully, but these errors were encountered: