mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-08 12:48:03 +02:00
m-default-profile: log error message when failed to get current profile
This commit is contained in:
parent
fc41af5c98
commit
2218b5613e
1 changed files with 2 additions and 1 deletions
|
|
@ -180,7 +180,8 @@ on_device_profile_notified (WpPipewireObject *device, GAsyncResult *res,
|
|||
/* Finish */
|
||||
profiles = wp_pipewire_object_enum_params_finish (device, res, &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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue