Permalink
Browse files

Fix error when stopping SimpleProcess type, more error reporting

  • Loading branch information...
1 parent a36d79d commit 36767858dd79a733e9b325f794041642a5845c3c @daf daf committed Dec 21, 2012
Showing with 1 addition and 2 deletions.
  1. +0 −1 pyon/container/procs.py
  2. +1 −1 pyon/ion/process.py
View
@@ -604,7 +604,6 @@ def _spawn_simple_process(self, process_id, name, module, cls, config):
# cleanup method to delete process queue (@TODO: leaks a bit here - should use XOs)
def cleanup(*args):
- self._cleanup_method(process_instance.id, rsvc)
for name in pub_names:
p = getattr(process_instance, name)
p.close()
View
@@ -412,7 +412,7 @@ def _notify_stop(self):
try:
self._cleanup_method(self)
except Exception as ex:
- log.warn("Cleanup method error, attempting to ignore: %s", ex)
+ log.warn("Cleanup method error, attempting to ignore: %s\nTraceback: %s", ex, traceback.format_exc())
def get_ready_event(self):
"""

0 comments on commit 3676785

Please sign in to comment.