mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
make some errors into debug
With the debug and return value we can delay writing error messages in the log until we really need to.
This commit is contained in:
parent
55bef12cda
commit
e32a7a8d65
4 changed files with 17 additions and 20 deletions
|
|
@ -164,7 +164,7 @@ error_properties:
|
|||
"usage: "FACTORY_USAGE);
|
||||
goto error_exit;
|
||||
error_device:
|
||||
pw_log_error("can't create device: %s", spa_strerror(res));
|
||||
pw_log_debug("can't create device: %s", spa_strerror(res));
|
||||
if (resource)
|
||||
pw_resource_errorf_id(resource, new_id, res,
|
||||
"can't create device: %s", spa_strerror(res));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue