summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJens Georg <jensg@openismus.com>2013-08-08 10:53:42 +0200
committerJens Georg <jensg@openismus.com>2013-08-08 13:33:23 +0200
commit3dceafbd13e2a89dc28e61f449f07b98e69073e9 (patch)
treea0551d536fc17517a98657f1b1c4c7bf33575bdc /src
parent8e9a7b8b9a07aef0f3447b28ab8d5552a3fe6c08 (diff)
downloadrygel-3dceafbd13e2a89dc28e61f449f07b98e69073e9.tar.gz
media-export: Add warning if child-count fails.
Diffstat (limited to 'src')
-rw-r--r--src/plugins/media-export/rygel-media-export-leaf-query-container.vala3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/media-export/rygel-media-export-leaf-query-container.vala b/src/plugins/media-export/rygel-media-export-leaf-query-container.vala
index 7edee983..083d8e96 100644
--- a/src/plugins/media-export/rygel-media-export-leaf-query-container.vala
+++ b/src/plugins/media-export/rygel-media-export-leaf-query-container.vala
@@ -58,6 +58,9 @@ internal class Rygel.MediaExport.LeafQueryContainer : QueryContainer {
return (int) this.media_db.get_object_count_by_search_expression
(this.expression, null);
} catch (Error error) {
+ warning (_("Failed to get child count of query container: %s"),
+ error.message);
+
return 0;
}
}