From 1a89095596667005d403416737d79f0258f02f4d Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Mon, 27 Jul 2020 08:00:52 -0500 Subject: [Command Tags] Give a user-friendlier message when processing command tags without output --- app/services/process_command_tags_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/services') diff --git a/app/services/process_command_tags_service.rb b/app/services/process_command_tags_service.rb index 2d8180673..6b6d46662 100644 --- a/app/services/process_command_tags_service.rb +++ b/app/services/process_command_tags_service.rb @@ -3,7 +3,7 @@ class ProcessCommandTagsService < BaseService def call(account, status, raise_if_no_output: true) CommandTag::Processor.new(account, status).process! - raise Mastodon::LengthValidationError, 'Processed command tags yielded no output.' if raise_if_no_output && status.destroyed? + raise Mastodon::LengthValidationError, 'Text commands were processed successfully.' if raise_if_no_output && status.destroyed? status end -- cgit