mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
protocol-native: change some warnings to infos
Errors caused by EPIPE/Connection reset by peer should not cause an error in the pipewire log, but rather an info.
This commit is contained in:
parent
1f4254b344
commit
10755ff115
2 changed files with 10 additions and 2 deletions
|
|
@ -291,7 +291,7 @@ client_busy_changed(void *data, bool busy)
|
|||
|
||||
static void handle_client_error(struct pw_impl_client *client, int res)
|
||||
{
|
||||
if (res == -EPIPE)
|
||||
if (res == -EPIPE || res == -ECONNRESET)
|
||||
pw_log_info("%p: client %p disconnected", client->protocol, client);
|
||||
else
|
||||
pw_log_error("%p: client %p error %d (%s)", client->protocol,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue