mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
improve some errors
Silence some -ENOENT warnings, they can happen when the object we are introspecting is destroyed
This commit is contained in:
parent
a1259a75be
commit
b8300c663b
9 changed files with 18 additions and 12 deletions
|
|
@ -1988,7 +1988,8 @@ static void core_error(void *data, uint32_t id, int seq, int res, const char *me
|
|||
{
|
||||
struct impl *impl = data;
|
||||
|
||||
pw_log_error("error id:%u seq:%d res:%d (%s): %s",
|
||||
pw_log(res == -ENOENT ? SPA_LOG_LEVEL_INFO : SPA_LOG_LEVEL_WARN,
|
||||
"error id:%u seq:%d res:%d (%s): %s",
|
||||
id, seq, res, spa_strerror(res), message);
|
||||
|
||||
if (id == PW_ID_CORE) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue