From 18477115fb132a4dbd5f57fdfb8131071ccb2462 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Thu, 18 Feb 2021 15:12:16 +0100 Subject: 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 4f24f108..15c5489c 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); -- cgit v1.2.1