diff --git a/lib/customer_repo.rb b/lib/customer_repo.rb index 6bde93f6c93222c28fe3230c829cdbd1b41e4cf6..16d3284f0a64dd5d8482a72ebed229edbcdc4188 100644 --- a/lib/customer_repo.rb +++ b/lib/customer_repo.rb @@ -64,7 +64,7 @@ class CustomerRepo Tel = Struct.new(:tel) do def keys(redis) redis.get("catapult_jid-#{tel}").then do |jid| - raise NotFound, "No jid" unless jid.to_s =~ /\Acustomer_/ + raise NotFound, "No jid for '#{tel}'" unless jid.to_s =~ /\Acustomer_/ JID.for(jid).keys(redis, tel: tel) end