From c583ca92edcb498fdd1f1560479254e388103d64 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 28 Jan 2019 19:10:35 +0000 Subject: [PATCH] Don't swallow exceptions deleting traces --- app/jobs/trace_destroyer_job.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/jobs/trace_destroyer_job.rb b/app/jobs/trace_destroyer_job.rb index ff5da5b0a..e2a050288 100644 --- a/app/jobs/trace_destroyer_job.rb +++ b/app/jobs/trace_destroyer_job.rb @@ -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 -- 2.39.5