diff options
Diffstat (limited to 'src/device-provider-upower.c')
-rw-r--r-- | src/device-provider-upower.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/device-provider-upower.c b/src/device-provider-upower.c index 4014853..cc4adf5 100644 --- a/src/device-provider-upower.c +++ b/src/device-provider-upower.c @@ -90,7 +90,9 @@ on_device_properties_ready (GObject * o, GAsyncResult * res, gpointer gdata) if (error != NULL) { if (!g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) - g_warning ("Error acquiring bus: %s", error->message); + g_warning ("Error getting properties for UPower device '%s': %s", + data->path, error->message); + g_error_free (error); } else |