Skip to content

Commit

Permalink
* lib/net/smtp.rb (check_continue): raise an error with an explanatory
Browse files Browse the repository at this point in the history
  message.  [ruby-core:35854] [Feature ruby#4598]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
mame committed Apr 24, 2012
1 parent dd5ae05 commit 606208b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
2 changes: 1 addition & 1 deletion lib/net/smtp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ def check_response(res)

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

Expand Down

0 comments on commit 606208b

Please sign in to comment.