[calls] record-store: Add debug statement for call state changes



commit 82a03ac0b1b137b9f387eb57f991332cea0dd20e
Author: Evangelos Ribeiro Tzaras <devrtz fortysixandtwo eu>
Date:   Fri Jun 17 09:39:47 2022 +0200

    record-store: Add debug statement for call state changes
    
    This can help debugging issues such as #463 and #455

 src/calls-record-store.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/calls-record-store.c b/src/calls-record-store.c
index a13c7171..c8117a82 100644
--- a/src/calls-record-store.c
+++ b/src/calls-record-store.c
@@ -532,6 +532,8 @@ state_changed_cb (CallsRecordStore *self,
     g_object_get_data (call_obj, "calls-call-record");
   CallsCallRecordState new_rec_state, old_rec_state;
 
+  g_debug ("Call state changed from %d to %d",
+           old_state, new_state);
 
   /* Check whether the call is recorded */
   if (!record) {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]