lib/roqua/probes/base_probe.rb in roqua-support-0.4.4 vs lib/roqua/probes/base_probe.rb in roqua-support-0.4.5

- old
+ new

@@ -16,9 +16,12 @@ # do not override me, implement probes by implementing the #run method def call run Appsignal.increment_counter("probe.call.completed", 1, probe_name: self.class.name.demodulize.underscore) + rescue => e + Appsignal.send_error(e) { _1.set_namespace(Appsignal::Transaction::BACKGROUND_JOB) } + raise end end end end