improve some errors

Silence some -ENOENT warnings, they can happen when the object we
are introspecting is destroyed
This commit is contained in:
Wim Taymans 2020-11-29 16:21:14 +01:00
parent a1259a75be
commit b8300c663b
9 changed files with 18 additions and 12 deletions

View file

@ -1471,7 +1471,8 @@ static void interface_added(struct spa_bt_monitor *monitor,
if (d == NULL) {
d = device_create(monitor, object_path);
if (d == NULL) {
spa_log_warn(monitor->log, "can't create device: %m");
spa_log_warn(monitor->log, "can't create Bluetooth device %s: %m",
object_path);
return;
}
}