changeset 2309 | d8fb90a2e11f |
parent 2305 | 56f1d8aca886 |
child 2315 | 523559fe6352 |
--- 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)