author | Edouard Tisserant |
Wed, 31 Jan 2018 15:20:42 +0100 | |
changeset 1916 | b69bea00765a |
parent 1915 | bdec3f1a40e7 |
child 1917 | d51d14719392 |
--- 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