[rygel/wip/ruih: 7/10] ruih: Don't abort
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/wip/ruih: 7/10] ruih: Don't abort
- Date: Fri, 31 Oct 2014 21:47:08 +0000 (UTC)
commit 1264e232ca7a5c9d43da4eacf70c243158c8652f
Author: Jens Georg <mail jensge org>
Date: Sat Oct 25 09:05:49 2014 +0200
ruih: Don't abort
Signed-off-by: Jens Georg <mail jensge org>
src/librygel-ruih/rygel-ruih-servicemanager.vala | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/src/librygel-ruih/rygel-ruih-servicemanager.vala
b/src/librygel-ruih/rygel-ruih-servicemanager.vala
index 1cb5221..dd4e3ef 100644
--- a/src/librygel-ruih/rygel-ruih-servicemanager.vala
+++ b/src/librygel-ruih/rygel-ruih-servicemanager.vala
@@ -87,21 +87,21 @@ public class Rygel.RuihServiceManager : Object
this.ui_listing_full_path,
event.to_string ());
try {
- ruih_manager.set_ui_list (ui_listing_full_path);
+ ruih_manager.set_ui_list (ui_listing_full_path);
} catch (RuihServiceError e) {
- error ("Failed to set UIList for file %s - %s\n",
- ui_listing_full_path,
- e.message);
+ warning (_("Failed to set UIList for file %s - %s"),
+ ui_listing_full_path,
+ e.message);
}
});
- } catch (Rygel.RuihServiceError e) {
- error ("Failed to set initial UI list for file %s - %s\n",
+ } catch (RuihServiceError e) {
+ warning (_("Failed to set initial UI list for file %s - %s"),
+ this.ui_listing_full_path,
+ e.message);
+ } catch (IOError e) {
+ warning (_("Failed to monitor the file %s - %s"),
this.ui_listing_full_path,
e.message);
- } catch (GLib.IOError e) {
- error ("Failed to monitor the file %s - %s\n",
- this.ui_listing_full_path,
- e.message);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]