Don't swallow exceptions deleting traces
authorTom Hughes <tom@compton.nu>
Mon, 28 Jan 2019 19:10:35 +0000 (19:10 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 28 Jan 2019 19:10:35 +0000 (19:10 +0000)
app/jobs/trace_destroyer_job.rb

index ff5da5b..e2a0502 100644 (file)
@@ -3,8 +3,5 @@ class TraceDestroyerJob < ApplicationJob
 
   def perform(trace)
     trace.destroy
-  rescue StandardError => ex
-    logger.info ex.to_s
-    ex.backtrace.each { |l| logger.info l }
   end
 end