summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-24 12:55:13 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-24 12:55:13 +0000
commit606208becf49fbfa8bb3d7e14acdb3c5bd947205 (patch)
tree9bf3d84624dbbdd3199ddda4dbd3789a16965d8a
parentdd5ae05b05241e9d5ee8e0d246c4622b59c147c6 (diff)
* 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
-rw-r--r--ChangeLog5
-rw-r--r--lib/net/smtp.rb2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 951a4a076d..fd0a8236cc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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,
diff --git a/lib/net/smtp.rb b/lib/net/smtp.rb
index feab4b3a0b..27d4557c0e 100644
--- a/lib/net/smtp.rb
+++ b/lib/net/smtp.rb
@@ -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