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



commit 9d0f4121a6612ee76ab09541104f4abebd37c113
Author: William Hua <william hua canonical com>
Date:   Mon Apr 18 00:59:55 2016 -0400

    Don't dump libapt's error logs
    
    The error messages are just a flood of unable to seek errors.

 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 d6c1e15..c46e679 100644
--- a/src/plugins/gs-plugin-apt.cc
+++ b/src/plugins/gs-plugin-apt.cc
@@ -432,7 +432,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]