Check partially configured transformations that are function based (aka transformation factories) on execution context setup.
wip: make sure all api is exported, raise an error when a function based transformation factory is (incorrectly) used as a transformation.
This commit is contained in:
@ -50,8 +50,11 @@ class ExecutorStrategy(Strategy):
|
||||
def starter(node):
|
||||
@functools.wraps(node)
|
||||
def _runner():
|
||||
with node:
|
||||
node.loop()
|
||||
try:
|
||||
with node:
|
||||
node.loop()
|
||||
except:
|
||||
logging.getLogger(__name__).critical('Critical error in threadpool node starter.', exc_info=sys.exc_info())
|
||||
|
||||
try:
|
||||
futures.append(executor.submit(_runner))
|
||||
|
||||
Reference in New Issue
Block a user