diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-07-27 08:00:52 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-08-30 05:45:16 -0500 |
commit | 1a89095596667005d403416737d79f0258f02f4d (patch) | |
tree | 813236542b1dacc14fc8ba1a8a18d46c5139d690 /app/services | |
parent | 01bafc18583d05f49d9a6356557d7ff9a7682875 (diff) |
[Command Tags] Give a user-friendlier message when processing command tags without output
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/process_command_tags_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |