summaryrefslogtreecommitdiff
path: root/lib/net/smtp.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/net/smtp.rb')
-rw-r--r--lib/net/smtp.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/smtp.rb b/lib/net/smtp.rb
index 4ed7e746d9..fdc911b82e 100644
--- a/lib/net/smtp.rb
+++ b/lib/net/smtp.rb
@@ -942,7 +942,7 @@ module Net
end
def critical
- return '200 dummy reply code' if @error_occurred
+ return Response.parse('200 dummy reply code') if @error_occurred
begin
return yield()
rescue Exception