Skip to content

Commit

Permalink
Report agent failures as at least a warning, not info
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Foster committed Jul 20, 2012
1 parent d403053 commit ab1470a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyon/agent/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def _execute(self, cprefix, command):
# TODO: Distinguish application vs. uncaught exception
cmd_res.status = getattr(ex, 'status_code', -1)
cmd_res.result = str(ex)
log.info("Agent command %s failed with trace=%s" % (command.command, traceback.format_exc()))
log.warn("Agent command %s failed with trace=%s" % (command.command, traceback.format_exc()))
else:
log.info("Agent command not supported: %s" % (command.command))
ex = iex.NotFound("Command not supported: %s" % command.command)
Expand Down

0 comments on commit ab1470a

Please sign in to comment.