diff options
author | Tomás Touceda <chiiph@leap.se> | 2013-10-10 13:07:01 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2013-10-10 13:07:01 -0300 |
commit | 88767ec46c2e695b08c469d632eda947c44fa16c (patch) | |
tree | 710b49c8afa1469f528f1a170539099b639e8f85 /mail | |
parent | 42f1a0fe0dd740c10685177fb411ddf63acde8b1 (diff) | |
parent | aa2b1dff42d78c5a9b1728e647635a964296c3ca (diff) |
Merge remote-tracking branch 'kali/catch-unhandled-exception-with-bt' into develop
Diffstat (limited to 'mail')
-rw-r--r-- | mail/src/leap/mail/smtp/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/src/leap/mail/smtp/__init__.py b/mail/src/leap/mail/smtp/__init__.py index 4e5d2a00..b30cd20c 100644 --- a/mail/src/leap/mail/smtp/__init__.py +++ b/mail/src/leap/mail/smtp/__init__.py @@ -86,3 +86,6 @@ def setup_smtp_relay(port, keymanager, smtp_host, smtp_port, "cannot listen in port %s" % ( smtp_port,)) signal(proto.SMTP_SERVICE_FAILED_TO_START, str(smtp_port)) + except Exception as exc: + logger.error("Unhandled error while launching smtp relay service") + logger.exception(exc) |