]> git.openstreetmap.org Git - rails.git/commitdiff
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 ff5da5b0a0a0bc71cc8bcf3c0f3cee287fd68a3a..e2a05028854470a504412428d4f8e82caaf631ed 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