From a2691022b29f72bfa04541c0eef90e2a5eef6354 Mon Sep 17 00:00:00 2001 From: Chris Williams Date: Wed, 1 Jan 2025 12:00:12 -0500 Subject: [PATCH] portal: Improve error message for invalid a11y own name Include the non-matching name in the message for ease of debugging. --- portal/flatpak-portal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portal/flatpak-portal.c b/portal/flatpak-portal.c index 991d0e04..2fc680a1 100644 --- a/portal/flatpak-portal.c +++ b/portal/flatpak-portal.c @@ -963,7 +963,7 @@ handle_spawn (PortalFlatpak *object, { g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, - "Invalid sandbox a11y own name, doesn't match app id"); + "Invalid sandbox a11y own name: '%s' doesn't match app id", sandbox_a11y_own_names[i]); return G_DBUS_METHOD_INVOCATION_HANDLED; } }