We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30868ae commit aa0229aCopy full SHA for aa0229a
test/net/imap/fake_server/command_router.rb
@@ -55,7 +55,17 @@ def handler_for(command)
55
resp.args.nil? or return resp.fail_bad_args
56
resp.bye
57
state.logout
58
- resp.done_ok
+ begin
59
+ resp.done_ok
60
+ rescue IOError
61
+ # TODO: fix whatever is causing this!
62
+ warn "connection issue after bye but before LOGOUT could complete"
63
+ if $!.respond_to :detailed_message
64
+ warn $!.detailed_message highlight: true, order: :bottom
65
+ else
66
+ warn $!.full_message highlight: true, order: :bottom
67
+ end
68
69
end
70
71
on "STARTTLS" do |resp|
0 commit comments