Hi, I have unhandled exception while smpt email sending. So, my application doesn't restart after this exception. Simple workaround is to disable notification.
God version: 0.7.12. >From syslog: === Unhandled exception in driver loop - (Timeout::Error): execution expired /opt/ruby/lib/ruby/1.8/timeout.rb:60:in `new' /opt/ruby/lib/ ruby/1.8/net/protocol.rb:206:in `old_open' /opt/ruby/lib/ruby/1.8/net/ protocol.rb:206:in `old_open' /opt/ruby/lib/ruby/1.8/net/smtp.rb: 392:in `do_start' /opt/ruby/lib/ruby/1.8/net/smtp.rb:377:in `start' / opt/ruby/lib/ruby/1.8/net/smtp.rb:315:in `start' /opt/ruby/lib/ruby/ gems/1.8/gems/god-0.7.12/bin/../lib/god/contacts/email.rb:81:in `notify_smtp' /opt/ruby/lib/ruby/gems/1.8/gems/god-0.7.12/bin/../lib/ god/contacts/email.rb:56:in `notify' /opt/ruby/lib/ruby/gems/1.8/gems/ god-0.7.12/bin/../lib/god/task.rb:482:in `notify' /opt/ruby/lib/ruby/ gems/1.8/gems/god-0.7.12/bin/../lib/god/task.rb:480:in `each' /opt/ ruby/lib/ruby/gems/1.8/gems/god-0.7.12/bin/../lib/god/task.rb:480:in `notify' /opt/ruby/lib/ruby/gems/1.8/gems/god-0.7.12/bin/../lib/god/ task.rb:328:in `handle_poll' /opt/ruby/lib/ruby/gems/1.8/gems/ god-0.7.12/bin/../lib/god/driver.rb:34:in `hand === I think problem is in the contacts/email.rb:64: === rescue => e === Timeout::Error is SignalException, but looks like "rescue => e" defaults to StandardError. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "god.rb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/god-rb?hl=en -~----------~----~----~----~------~----~------~--~---
