Changed run_async to properly relay remote error messages to the user-supplied errback.

This commit is contained in:
Griatch 2012-09-02 16:14:08 +02:00
parent 056fee5c70
commit e25ac1e46b
2 changed files with 33 additions and 24 deletions

View file

@ -121,6 +121,7 @@ class ProcPoolChild(AMPChild):
except Exception:
# use exec instead
exec source in available_vars
return {'response': _return.get_returns()}
ExecuteCode.responder(executecode)