diff options
Diffstat (limited to 'app/services/namespaces')
-rw-r--r-- | app/services/namespaces/in_product_marketing_emails_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/namespaces/in_product_marketing_emails_service.rb b/app/services/namespaces/in_product_marketing_emails_service.rb index aa29c8574ad..2b3c0c382a8 100644 --- a/app/services/namespaces/in_product_marketing_emails_service.rb +++ b/app/services/namespaces/in_product_marketing_emails_service.rb @@ -27,7 +27,7 @@ module Namespaces end def execute - raise NotImplementedError, "Track #{track} not defined" unless TRACKS.key?(track) + raise ArgumentError, "Track #{track} not defined" unless TRACKS.key?(track) groups_for_track.each_batch do |groups| groups.each do |group| |