mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/net/smtp.rb (check_continue): raise an error with an explanatory
message. [ruby-core:35854] [Feature #4598] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
dd5ae05b05
commit
606208becf
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Apr 24 21:43:58 2012 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* lib/net/smtp.rb (check_continue): raise an error with an explanatory
|
||||
message. [ruby-core:35854] [Feature #4598]
|
||||
|
||||
Tue Apr 24 21:11:31 2012 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* lib/optparse.rb (OptionParser#to_a): should split by end-of-line,
|
||||
|
|
|
@ -955,7 +955,7 @@ module Net
|
|||
|
||||
def check_continue(res)
|
||||
unless res.continue?
|
||||
raise SMTPUnknownError, "could not get 3xx (#{res.status})"
|
||||
raise SMTPUnknownError, "could not get 3xx (#{res.status}: #{res.string})"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue