[gnome-software] shell: Show detailed messages for download failed errors



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]