diff options
author | Fina Wilke <code@felinira.net> | 2022-07-17 01:22:33 +0200 |
---|---|---|
committer | Patrick <tingping@tingping.se> | 2022-07-17 15:36:21 -0500 |
commit | f4b038c8b1f1e50a33c39e07a84f6e3ac383097a (patch) | |
tree | 4efe9475301b7d7423784789021591afcd36c2e3 /app | |
parent | 120322cb8f743a8f65c27c820a9310e4ee382df7 (diff) | |
download | flatpak-f4b038c8b1f1e50a33c39e07a84f6e3ac383097a.tar.gz |
Increase verbosity of extension missing error messages
Adds arch and branch to the error message to help with locating the required
extension arch and branch.
Diffstat (limited to 'app')
-rw-r--r-- | app/flatpak-builtins-build-init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/flatpak-builtins-build-init.c b/app/flatpak-builtins-build-init.c index d84cad0a..d400e392 100644 --- a/app/flatpak-builtins-build-init.c +++ b/app/flatpak-builtins-build-init.c @@ -115,7 +115,7 @@ ensure_extensions (FlatpakDeploy *src_deploy, const char *default_arch, const ch subpaths = flatpak_deploy_data_get_subpaths (deploy_data); if (subpaths[0] != NULL) - return flatpak_fail (error, _("Requested extension %s is only partially installed"), ext->installed_id); + return flatpak_fail (error, _("Requested extension %s/%s/%s is only partially installed"), ext->installed_id, default_arch, default_branch); } if (top_dir) @@ -144,7 +144,7 @@ ensure_extensions (FlatpakDeploy *src_deploy, const char *default_arch, const ch if (!found) { g_list_free_full (extensions, (GDestroyNotify) flatpak_extension_free); - return flatpak_fail (error, _("Requested extension %s not installed"), requested_extension_name); + return flatpak_fail (error, _("Requested extension %s/%s/%s not installed"), requested_extension_name, default_arch, default_branch); } } |