changeset 1916 | b69bea00765a |
parent 1907 | 9d17b9d91697 |
child 1919 | ccea0fa6ea91 |
--- a/Beremiz_service.py Wed Jan 31 11:29:17 2018 +0100 +++ b/Beremiz_service.py Wed Jan 31 15:20:42 2018 +0100 @@ -535,8 +535,7 @@ statuschange, pyruntimevars=pyruntimevars) -# Exception hooks s - +# Exception hooks def LogMessageAndException(msg, exp=None): @@ -548,8 +547,9 @@ print(msg) traceback.print_exception(*exp) + def LogException(*exp): - LogExceptionAndMessage("",exp) + LogExceptionAndMessage("", exp) sys.excepthook = LogException