mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/drb/ssl.rb (SSLConfig#accept) fixed "Undefined method verbose"
[ruby-Bugs:1701] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fbf6744823
commit
0bbbb77d1a
2 changed files with 6 additions and 1 deletions
|
@ -180,7 +180,7 @@ module DRb
|
|||
ssl = @config.accept(soc)
|
||||
self.class.new(uri, ssl, @config, true)
|
||||
rescue OpenSSL::SSL::SSLError
|
||||
warn("#{__FILE__}:#{__LINE__}: warning: #{$!.message} (#{$!.class})") if verbose
|
||||
warn("#{__FILE__}:#{__LINE__}: warning: #{$!.message} (#{$!.class})") if self[:verbose]
|
||||
retry
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue