Output body.

This commit is contained in:
Mathias Meyer 2014-04-23 14:05:21 +02:00
parent cb83aa4626
commit 5623316889

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} (#{ex.response})"}
on_error = proc {|ex| puts "librato error: #{ex.message} (#{ex.response.body})"}
Metriks::LibratoMetricsReporter.new(email, token, source: source, on_error: on_error).start
end
end