lib/rews/util.rb in rews-0.2.9 vs lib/rews/util.rb in rews-0.2.10
- old
+ new
@@ -80,10 +80,10 @@
all_statuses = [statuses]
end
errors = all_statuses.map{|s| single_error_check(client, s)}.compact
rescue Exception=>e
- client.log.warn(e)
+ client.log{|logger| logger.warn(e)}
tag_exception(e, :savon_response=>response)
raise e
end
raise Error.new(errors.join("\n")) if !errors.empty?