I HAVE NO IDEA WHAT I'M DOING

This commit is contained in:
Konstantin Haase 2015-01-14 15:52:19 +01:00
parent fb74fcc711
commit f5f6b9d771

View File

@ -12,7 +12,8 @@ class Travis::Api::App
after do after do
instrumenter = ::Skylight::Instrumenter.instance instrumenter = ::Skylight::Instrumenter.instance
trace = instrumenter.current_trace if instrumenter trace = instrumenter.current_trace if instrumenter
p trace.endpoint = "#{request.request_method} #{endpoint}" || "unknown" if trace x = trace.endpoint = "#{request.request_method} #{endpoint}" || "unknown" if trace
puts env.inspect unless x
end end
def endpoint def endpoint