[calls] sip: account-widget: Warn when trying to find unknown protocol



commit cfd0dc6e08d3590fcbe30df80fb0a3cf6e6bde65
Author: Evangelos Ribeiro Tzaras <devrtz fortysixandtwo eu>
Date:   Mon May 9 17:46:52 2022 +0200

    sip: account-widget: Warn when trying to find unknown protocol
    
    A warning is more suitable than a simple debug message as this would be
    considered a programming error.

 plugins/sip/calls-sip-account-widget.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/sip/calls-sip-account-widget.c b/plugins/sip/calls-sip-account-widget.c
index c04e3e88..f774ddab 100644
--- a/plugins/sip/calls-sip-account-widget.c
+++ b/plugins/sip/calls-sip-account-widget.c
@@ -287,7 +287,7 @@ find_protocol (CallsSipAccountWidget *self,
     }
   }
 
-  g_debug ("Could not find protocol '%s'", protocol);
+  g_warning ("Could not find protocol '%s'", protocol);
   return FALSE;
 }
 


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