[gnome-bluetooth/wip/hadess/fix-keyboard-cancel: 5/7] settings-widget: Print connection error in debug output
- From: Bastien Nocera <hadess src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gnome-bluetooth/wip/hadess/fix-keyboard-cancel: 5/7] settings-widget: Print connection error in debug output
 
- Date: Thu, 18 Feb 2021 17:02:45 +0000 (UTC)
 
commit 8fe86bbe14c527d7326853702cd155ad00f2745c
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Feb 18 15:12:16 2021 +0100
    settings-widget: Print connection error in debug output
    
    Instead of eating it.
 lib/bluetooth-settings-widget.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lib/bluetooth-settings-widget.c b/lib/bluetooth-settings-widget.c
index 7351e665..9b980a70 100644
--- a/lib/bluetooth-settings-widget.c
+++ b/lib/bluetooth-settings-widget.c
@@ -855,7 +855,7 @@ connect_callback (GObject      *source_object,
                        data->timeout_id = g_timeout_add (500, connect_timeout_cb, data);
                        return;
                }
-               g_debug ("Failed to connect to device %s", data->device);
+               g_debug ("Failed to connect to device %s: %s", data->device, error->message);
        }
 
        turn_off_pairing (data->self, data->device);
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]