lib/skylight/instrumenter.rb in skylight-0.0.14 vs lib/skylight/instrumenter.rb in skylight-0.0.15
- old
+ new
@@ -56,10 +56,11 @@
@started = true
end
self
- rescue
+ rescue Exception => e
+ error(e.message)
nil
end
def trace(endpoint = nil)
# Ignore everything unless the instrumenter has been started