Output response on Librato error.

This commit is contained in:
Mathias Meyer 2014-04-23 13:59:00 +02:00
parent d6963c1325
commit cb83aa4626

View File

@ -184,7 +184,7 @@ module Travis::Api
email, token, source = Travis.config.librato.email,
Travis.config.librato.token,
Travis.config.librato_source
on_error = proc {|ex| puts "librato error: #{ex.message}"}
on_error = proc {|ex| puts "librato error: #{ex.message} (#{ex.response})"}
Metriks::LibratoMetricsReporter.new(email, token, source: source, on_error: on_error).start
end
end