portal: error->warn when the portal pid is unknown

This commit is contained in:
Wim Taymans 2021-01-14 15:07:42 +01:00
parent 7eac9874f0
commit 3162465f6f

View file

@ -134,7 +134,7 @@ static void on_portal_pid_received(DBusPendingCall *pending,
if (dbus_message_get_type(m) == DBUS_MESSAGE_TYPE_ERROR) {
const char *message = "unknown";
dbus_message_get_args(m, NULL, DBUS_TYPE_STRING, &message, DBUS_TYPE_INVALID);
pw_log_error("Failed to receive portal pid: %s: %s",
pw_log_warn("Failed to receive portal pid: %s: %s",
dbus_message_get_error_name(m), message);
return;
}