From 5bd2700a58e75c2e479c9056179901cc42bb1e90 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Wed, 11 Aug 2021 15:18:08 -0500 Subject: [PATCH] Better error on no JID --- bin/billing_monthly_cronjob | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/billing_monthly_cronjob b/bin/billing_monthly_cronjob index 598e977..f01c6fa 100755 --- a/bin/billing_monthly_cronjob +++ b/bin/billing_monthly_cronjob @@ -180,6 +180,7 @@ class ExpiredCustomer end def send_notification + raise "No JID for #{customer_id}, cannot notify" unless jid BlatherNotify.say( CONFIG[:notify_using][:target].call(jid), CONFIG[:notify_using][:body].call( -- 2.45.2