]> git.openstreetmap.org Git - rails.git/blobdiff - app/jobs/trace_destroyer_job.rb
Refactor i18n so that all community information is available
[rails.git] / app / jobs / trace_destroyer_job.rb
index ff5da5b0a0a0bc71cc8bcf3c0f3cee287fd68a3a..66b777b2c3cb7dd19d2b61730edd2e7c3cf7ee8b 100644 (file)
@@ -1,10 +1,7 @@
 class TraceDestroyerJob < ApplicationJob
-  queue_as :default
+  queue_as :traces
 
   def perform(trace)
     trace.destroy
-  rescue StandardError => ex
-    logger.info ex.to_s
-    ex.backtrace.each { |l| logger.info l }
   end
 end