Permalink
Browse files

Add process context to local stack in endpoint for debugging purposes

  • Loading branch information...
1 parent d0d692f commit 593a900e14403e13d804dec7cbcf6e777081360b @daf daf committed Jan 7, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 pyon/ion/endpoint.py
@@ -372,7 +372,8 @@ def _make_routing_call(self, call, timeout, *op_args, **op_kwargs):
if not self._routing_call:
return SubscriberEndpointUnit._make_routing_call(self, call, timeout, *op_args, **op_kwargs)
- ar = self._routing_call(call, self._process.get_context(), *op_args, **op_kwargs)
+ ctx = self._process.get_context() # pull onto the locals here, for debuggability with manhole
+ ar = self._routing_call(call, ctx, *op_args, **op_kwargs)
return ar.get() # timeout=timeout) # REMOVED TIMEOUT

0 comments on commit 593a900

Please sign in to comment.