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

This commit is contained in:
Julian Bouzas 2021-05-19 11:39:17 -04:00
parent 2218b5613e
commit 7bc59afd81

View file

@ -617,7 +617,8 @@ on_device_routes_notified (WpPipewireObject *device, GAsyncResult *res,
/* Finish */
routes = wp_pipewire_object_enum_params_finish (device, res, &error);
if (error) {
wp_warning_object (self, "failed to get current route on device");
wp_warning_object (self, "failed to get current route on device: %s",
error->message);
return;
}