~singpolyma/jmp-pay

5bd2700a58e75c2e479c9056179901cc42bb1e90 — Stephen Paul Weber 3 years ago 1069b1d
Better error on no JID
1 files changed, 1 insertions(+), 0 deletions(-)

M bin/billing_monthly_cronjob
M bin/billing_monthly_cronjob => bin/billing_monthly_cronjob +1 -0
@@ 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(