Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeout during sending email is not handled nicely #5

Open
GoogleCodeExporter opened this issue Mar 25, 2015 · 0 comments
Open

Timeout during sending email is not handled nicely #5

GoogleCodeExporter opened this issue Mar 25, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. This occur sometimes when smtp service has problems


Timeout::Error (execution expired):
    /usr/lib/ruby/1.8/timeout.rb:54:in `new'
    /usr/lib/ruby/1.8/net/protocol.rb:206:in `old_open'
    /usr/lib/ruby/1.8/timeout.rb:56:in `timeout'
    /usr/lib/ruby/1.8/timeout.rb:76:in `timeout'
    /usr/lib/ruby/1.8/net/protocol.rb:206:in `old_open'
    /usr/lib/ruby/1.8/net/smtp.rb:393:in `do_start'
    /usr/lib/ruby/1.8/net/smtp.rb:378:in `start'
    /usr/lib/ruby/1.8/net/smtp.rb:316:in `start'

/usr/lib/ruby/gems/1.8/gems/actionmailer-1.3.2/lib/action_mailer/base.rb:565:in
`perform_delivery_smtp'

/usr/lib/ruby/gems/1.8/gems/actionmailer-1.3.2/lib/action_mailer/base.rb:451:in
`send'

/usr/lib/ruby/gems/1.8/gems/actionmailer-1.3.2/lib/action_mailer/base.rb:451:in
`deliver!'

/usr/lib/ruby/gems/1.8/gems/actionmailer-1.3.2/lib/action_mailer/base.rb:364:in
`deliver'
    .//app/models/order.rb:32:in `release'
    .//app/controllers/orders_controller.rb:59:in `send_order'

/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.2/lib/action_controller/base.rb:1095
:in
`send'

/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.2/lib/action_controller/base.rb:1095
:in
`perform_action_without_filters'


What is the expected output? What do you see instead?
Exception should be handled and nice message should be provided

Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 25 May 2007 at 1:18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant