diff options
author | Jens Georg <jensg@openismus.com> | 2013-08-08 10:53:42 +0200 |
---|---|---|
committer | Jens Georg <jensg@openismus.com> | 2013-08-08 13:33:23 +0200 |
commit | 3dceafbd13e2a89dc28e61f449f07b98e69073e9 (patch) | |
tree | a0551d536fc17517a98657f1b1c4c7bf33575bdc /src | |
parent | 8e9a7b8b9a07aef0f3447b28ab8d5552a3fe6c08 (diff) | |
download | rygel-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.vala | 3 |
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; } } |