Checkout
Nathan Hartman
committed
on 04 Nov 19
mailer.py: Handle otherwise uncaught exception in SMTPOutput.finish

Follow-up on r1869194. That revision addresses issue SVN-1804 by
adding… Show more
mailer.py: Handle otherwise uncaught exception in SMTPOutput.finish

Follow-up on r1869194. That revision addresses issue SVN-1804 by

adding exception handling for SMTP errors, but does not handle a

potential source of exceptions when closing a SMTP session.

* tools/hook-scripts/mailer/mailer.py

 (SMTPOutput.finish): Handle exception that may be raised by

   server.quit.

Found by: futatuki

Review by: futatuki

Show less