diff -r 4d7cee25a474 -r d8fb90a2e11f Beremiz_service.py --- a/Beremiz_service.py Tue Oct 02 15:57:26 2018 +0200 +++ b/Beremiz_service.py Wed Oct 03 00:05:32 2018 +0200 @@ -386,6 +386,7 @@ res = (None, sys.exc_info()) return res + if enabletwisted: import warnings with warnings.catch_warnings(): @@ -438,6 +439,7 @@ # Exception hooks + def LogException(*exp): LogMessageAndException("", exp)