[gnome-software] shell: Show detailed messages for download failed errors
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] shell: Show detailed messages for download failed errors
- Date: Mon, 12 Mar 2018 23:44:27 +0000 (UTC)
commit 4886a69a08ee37811d3cdb4db5e33103ab4086a8
Author: Kalev Lember <klember redhat com>
Date: Fri Mar 9 08:22:01 2018 +0100
shell: Show detailed messages for download failed errors
So the user at least gets some idea what failed to download and which
repo it was from and can take action, e.g. disable the faulty repo.
src/gs-shell.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/gs-shell.c b/src/gs-shell.c
index fc5372c0..351e331d 100644
--- a/src/gs-shell.c
+++ b/src/gs-shell.c
@@ -863,6 +863,8 @@ gs_shell_show_detailed_error (GsShell *shell, const GError *error)
{
if (error->code == GS_PLUGIN_ERROR_FAILED)
return TRUE;
+ if (error->code == GS_PLUGIN_ERROR_DOWNLOAD_FAILED)
+ return TRUE;
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]