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 | 01f8f956a02991f0b91b95b9c0caf310ff6ee32c (patch) | |
tree | d17e09a92afe0b124a6f030d8764d04cc503e47f /src/leap/mail | |
parent | a597ab8dde22389d758f97b6aafbc244314c1c40 (diff) | |
parent | 60a9f40c0afb0dce6814be294f306d4d037f122f (diff) |
Merge remote-tracking branch 'kali/catch-unhandled-exception-with-bt' into develop
Diffstat (limited to 'src/leap/mail')
-rw-r--r-- | src/leap/mail/smtp/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/leap/mail/smtp/__init__.py b/src/leap/mail/smtp/__init__.py index 4e5d2a0..b30cd20 100644 --- a/src/leap/mail/smtp/__init__.py +++ b/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) |