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



commit 2a1410abcf8fd2f5e1e63c4a179b0017e2cfb518
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]