module-rtkit: log the dbus error as a warning

This commit is contained in:
Wim Taymans 2021-01-19 15:02:37 +01:00
parent abfc67a3ca
commit 0e5ad1c0a4

View file

@ -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) ||