parent
d077bbf8c8
commit
6e13955b08
|
@ -33,3 +33,4 @@ This is our current version trying to communicate between courier and mailman3.
|
||||||
* Maybe this is better?
|
* Maybe this is better?
|
||||||
* Catch exception, log based on that?
|
* Catch exception, log based on that?
|
||||||
* Hm, go with bare "Exception"... The catch wasn't what was failing.
|
* Hm, go with bare "Exception"... The catch wasn't what was failing.
|
||||||
|
* Let's try that instead?
|
|
@ -67,6 +67,6 @@ try:
|
||||||
raise
|
raise
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error('lmtp error')
|
logger.error('lmtp error')
|
||||||
logger.error(traceback.format_exc())
|
logger.exception('Got exception Traceback:')
|
||||||
logger.error('lmtp failed errorno: %s, message: %s', e.errno, e.strerror)
|
logger.error('lmtp failed errorno: %s, message: %s', e.errno, e.strerror)
|
||||||
exit(100)
|
exit(100)
|
Loading…
Reference in New Issue