lib/patches_for_sentry.rb 🔗
@@ -65,7 +65,7 @@ module SentryIQManager
span = transaction.start_child(op: "xmpp.iq", description: description)
- yield.then { span.finish }.catch do |e|
+ yield.then { |x| x.tap { span.finish } }.catch do |e|
span.set_status("internal_error")
span.finish
EMPromise.reject(e)