lib/zabbix-ruby-client/runner.rb in zabbix-ruby-client-0.0.18 vs lib/zabbix-ruby-client/runner.rb in zabbix-ruby-client-0.0.19
- old
+ new
@@ -44,11 +44,11 @@
if $?.to_i != 0
@store.keepdata(file)
end
rescue Exception => e
@store.keepdata(file)
- logger.error "Sending failed."
- logger.error e.message
+ ZabbixRubyClient::Log.error "Sending failed."
+ ZabbixRubyClient::Log.error e.message
end
end
private