Commit 2218b561 authored by Julian Bouzas's avatar Julian Bouzas
Browse files

m-default-profile: log error message when failed to get current profile

parent fc41af5c
...@@ -180,7 +180,8 @@ on_device_profile_notified (WpPipewireObject *device, GAsyncResult *res, ...@@ -180,7 +180,8 @@ on_device_profile_notified (WpPipewireObject *device, GAsyncResult *res,
/* Finish */ /* Finish */
profiles = wp_pipewire_object_enum_params_finish (device, res, &error); profiles = wp_pipewire_object_enum_params_finish (device, res, &error);
if (error) { if (error) {
wp_warning_object (self, "failed to get current profile on device"); wp_warning_object (self, "failed to get current profile on device: %s",
error->message);
return; return;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment