mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
module-rtkit: log the dbus error as a warning
This commit is contained in:
parent
abfc67a3ca
commit
0e5ad1c0a4
1 changed files with 2 additions and 0 deletions
|
|
@ -182,6 +182,8 @@ static pid_t _gettid(void)
|
||||||
|
|
||||||
static int translate_error(const char *name)
|
static int translate_error(const char *name)
|
||||||
{
|
{
|
||||||
|
pw_log_warn("RTKit error: %s", name);
|
||||||
|
|
||||||
if (0 == strcmp(name, DBUS_ERROR_NO_MEMORY))
|
if (0 == strcmp(name, DBUS_ERROR_NO_MEMORY))
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
if (0 == strcmp(name, DBUS_ERROR_SERVICE_UNKNOWN) ||
|
if (0 == strcmp(name, DBUS_ERROR_SERVICE_UNKNOWN) ||
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue