[gnome-software/wip/temp/ubuntu-xenial-rebased: 286/329] Revert "Don't dump libapt's error logs"



commit aea39cf8e9533516ff78fef80d08587134a84e6f
Author: William Hua <william hua canonical com>
Date:   Wed Apr 20 07:27:40 2016 -0400

    Revert "Don't dump libapt's error logs"
    
    This reverts commit a3ed964cb6cc953c2b25ea96446a63def1ea10f7.

 src/plugins/gs-plugin-apt.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-apt.cc b/src/plugins/gs-plugin-apt.cc
index 35a2655..d1074d4 100644
--- a/src/plugins/gs-plugin-apt.cc
+++ b/src/plugins/gs-plugin-apt.cc
@@ -433,7 +433,7 @@ load_apt_db (GsPlugin *plugin, GError **error)
        list = cachefile.GetSourceList();
        policy = cachefile.GetPolicy();
        if (cache == NULL || _error->PendingError()) {
-               /* _error->DumpErrors(); */
+               _error->DumpErrors();
                g_set_error (error,
                             GS_PLUGIN_ERROR,
                             GS_PLUGIN_ERROR_FAILED,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]