[gnome-software/wip/attente/ubuntu-xenial: 27/27] Don't dump libapt's error logs
- From: William Hua <williamhua src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/attente/ubuntu-xenial: 27/27] Don't dump libapt's error logs
- Date: Mon, 18 Apr 2016 05:34:54 +0000 (UTC)
commit a3ed964cb6cc953c2b25ea96446a63def1ea10f7
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 b941ce4..be32125 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]