Output response on Librato error.
This commit is contained in:
parent
d6963c1325
commit
cb83aa4626
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user