[gnome-software/wip/iainl/ubuntu-xenial] Revert "Don't dump libapt's error logs"



commit a9269af256d3908096d61aa049ebc4cb994ff098
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 86b5545..10acfa9 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]