[gnome-software] trivial: Specify more information when a error domain is wrong
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Specify more information when a error domain is wrong
- Date: Tue, 6 Dec 2016 15:05:29 +0000 (UTC)
commit ad35d476bc7672601e56bbe2fce9a6d391a429a6
Author: Richard Hughes <richard hughsie com>
Date: Tue Dec 6 13:57:26 2016 +0000
trivial: Specify more information when a error domain is wrong
src/gs-plugin-loader.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-plugin-loader.c b/src/gs-plugin-loader.c
index 6063373..508f58e 100644
--- a/src/gs-plugin-loader.c
+++ b/src/gs-plugin-loader.c
@@ -313,9 +313,11 @@ gs_plugin_loader_create_event_from_error (GsPluginLoader *plugin_loader,
if (error == NULL)
return;
if (error->domain != GS_PLUGIN_ERROR) {
- g_critical ("not GsPlugin error %s:%i",
+ g_critical ("not GsPlugin error from plugin %s %s:%i: %s",
+ gs_plugin_get_name (plugin),
g_quark_to_string (error->domain),
- error->code);
+ error->code,
+ error->message);
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]