mirror of
https://github.com/flatpak/flatpak.git
synced 2026-05-11 09:30:09 -04:00
portal: Improve error message for invalid a11y own name
Include the non-matching name in the message for ease of debugging.
This commit is contained in:
committed by
Georges Basile Stavracas Neto
parent
a160cbcb1f
commit
a2691022b2
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user