projects
/
profile
/
ivi
/
rygel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c82006e
)
core: Micro refactoring
author
Zeeshan Ali (Khattak)
<zeeshanak@gnome.org>
Mon, 9 Nov 2009 18:12:38 +0000
(20:12 +0200)
committer
Zeeshan Ali (Khattak)
<zeeshanak@gnome.org>
Mon, 9 Nov 2009 18:12:38 +0000
(20:12 +0200)
src/rygel/rygel-search.vala
patch
|
blob
|
history
diff --git
a/src/rygel/rygel-search.vala
b/src/rygel/rygel-search.vala
index
0e23b5a
..
7cc9cdc
100644
(file)
--- a/
src/rygel/rygel-search.vala
+++ b/
src/rygel/rygel-search.vala
@@
-170,15
+170,13
@@
internal class Rygel.Search: GLib.Object, Rygel.StateMachine {
}
private void handle_error (Error error) {
+ warning ("Failed to search in '%s': %s\n",
+ this.container_id,
+ error.message);
+
if (error is ContentDirectoryError) {
- warning ("Failed to search in '%s': %s\n",
- this.container_id,
- error.message);
this.action.return_error (error.code, error.message);
} else {
- warning ("Failed to browse '%s': %s\n",
- this.container_id,
- error.message);
this.action.return_error (701, error.message);
}