Permalink
Browse files

reporting errors before the final failure

  • Loading branch information...
1 parent a6f96e1 commit 57a31a633cc6de986484463979d79e7f989acc09 @mriehl mriehl committed Mar 19, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/python/yadtreceiver/protocols.py
@@ -74,9 +74,9 @@ def publish_failed(self, return_code):
error_message = '(%s) target[%s] request "%s" failed: return code was %s.' \
% (self.hostname, self.target, self.readable_command, return_code)
log.err(error_message)
+ self._report_error_summary()
self.broadcaster.publish_cmd_for_target(self.target, self.readable_command, events.FAILED,
error_message, tracking_id=self.tracking_id)
- self._report_error_summary()
def errReceived(self, data):
self.error_buffer += str(data)

0 comments on commit 57a31a6

Please sign in to comment.