lib/oboe/api/tracing.rb in oboe-1.3.8 vs lib/oboe/api/tracing.rb in oboe-1.3.9.1

- old
+ new

@@ -33,11 +33,11 @@ def trace(layer, opts={}, protect_op=nil) log_entry(layer, opts, protect_op) begin yield rescue Exception => e - log_exception(layer, e) + log_exception(layer, e) raise ensure log_exit(layer, {}, protect_op) end end @@ -76,10 +76,10 @@ def start_trace(layer, xtrace, opts={}) log_start(layer, xtrace, opts) begin result = yield rescue Exception => e - log_exception(layer, e) + log_exception(layer, e) e.instance_variable_set(:@xtrace, log_end(layer)) raise end xtrace = log_end(layer)