From 606208becf49fbfa8bb3d7e14acdb3c5bd947205 Mon Sep 17 00:00:00 2001 From: mame Date: Tue, 24 Apr 2012 12:55:13 +0000 Subject: * 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 --- lib/net/smtp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/net') 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 -- cgit v1.2.3