From c9efc3742363ba3a1274f81b297f6f2cbdd86143 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Wed, 26 Jun 2024 14:30:21 -0500 Subject: [PATCH] Log ending_call --- lib/call_attempt_repo.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/call_attempt_repo.rb b/lib/call_attempt_repo.rb index 4fa0d98bfc0f2fe5cef92d7232db9abfc07417a7..57f4ba7f5a41c93eff6a72663ece2871b37f8607 100644 --- a/lib/call_attempt_repo.rb +++ b/lib/call_attempt_repo.rb @@ -50,7 +50,9 @@ class CallAttemptRepo redis.srem( "jmp_customer_ongoing_calls-#{customer_id}", call_id - ) + ).then do |result| + log.info "ending_call #{customer_id} #{call_id}", result + end end protected