Update processManager.py
This commit is contained in:
parent
f98a033355
commit
9ff73d67bc
@ -71,7 +71,7 @@ class processManager():
|
|||||||
else:
|
else:
|
||||||
function(self.running, eventQueue)
|
function(self.running, eventQueue)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.env['runtime']['debug'].writeDebugOut('processManager:customEventWorkerThread:function():' + str(e),debug.debugLevel.ERROR)
|
self.env['runtime']['debug'].writeDebugOut('processManager:customEventWorkerThread:function('+str(function)+'):' + str(e),debug.debugLevel.ERROR)
|
||||||
if runOnce:
|
if runOnce:
|
||||||
break
|
break
|
||||||
|
|
||||||
@ -88,7 +88,7 @@ class processManager():
|
|||||||
else:
|
else:
|
||||||
Data = function(self.running)
|
Data = function(self.running)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.env['runtime']['debug'].writeDebugOut('processManager:simpleEventWorkerThread:function():' + str(e),debug.debugLevel.ERROR)
|
self.env['runtime']['debug'].writeDebugOut('processManager:simpleEventWorkerThread:function('+str(function)+'):' + str(e),debug.debugLevel.ERROR)
|
||||||
self.env['runtime']['eventManager'].putToEventQueue(event, Data)
|
self.env['runtime']['eventManager'].putToEventQueue(event, Data)
|
||||||
if runOnce:
|
if runOnce:
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user