lib/elastic_apm/spies/shoryuken.rb in elastic-apm-3.11.1 vs lib/elastic_apm/spies/shoryuken.rb in elastic-apm-3.12.0

- old
+ new

@@ -35,12 +35,14 @@ ElasticAPM.set_label('shoryuken.queue', queue) yield transaction&.done :success + transaction&.outcome = Transaction::Outcome::SUCCESS rescue ::Exception => e ElasticAPM.report(e, handled: false) transaction&.done :error + transaction&.outcome = Transaction::Outcome::FAILURE raise ensure ElasticAPM.end_transaction end