From 9d35a7aef6f64088dd97446f10aee581f3009af7 Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Mon, 24 Aug 2020 13:22:41 -0500 Subject: [Bug, Command Tags] Avoid processing deleted statuses --- app/lib/command_tag/processor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/lib') diff --git a/app/lib/command_tag/processor.rb b/app/lib/command_tag/processor.rb index 9edcb58ba..5a1f6a68d 100644 --- a/app/lib/command_tag/processor.rb +++ b/app/lib/command_tag/processor.rb @@ -91,7 +91,7 @@ class CommandTag::Processor all_handlers!(:shutdown) rescue CommandTag::Break nil - rescue StandardError => e + rescue StandardError @status.update(published: false) @status.destroy raise -- cgit