Skip to content

Commit

Permalink
We should print an error message when a vPoller task fails
Browse files Browse the repository at this point in the history
  • Loading branch information
dnaeon committed Dec 3, 2014
1 parent a3bbe1c commit 7b7e2ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zabbix/vsphere-import/zabbix-vsphere-import
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class ZabbixVSphere(object):
data = json.loads(self.vclient.run(msg=msg))

if data['success'] != 0:
logging.warning('vPoller task failed: %s', data)
logging.error('vPoller task failed: %s', data)
raise SystemExit

return data['result']
Expand Down

0 comments on commit 7b7e2ae

Please sign in to comment.