[tracker] libtracker-data: Wrap date errors in SPARQL errors for D-Bus replies
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-data: Wrap date errors in SPARQL errors for D-Bus replies
- Date: Fri, 28 Jan 2011 14:43:51 +0000 (UTC)
commit 92a501e971b5a6cbad6478e979def80c658af041
Author: Jürg Billeter <j bitron ch>
Date: Fri Jan 28 15:42:08 2011 +0100
libtracker-data: Wrap date errors in SPARQL errors for D-Bus replies
Fixes NB#223133.
src/libtracker-data/tracker-sparql-query.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-data/tracker-sparql-query.vala b/src/libtracker-data/tracker-sparql-query.vala
index e57adce..98edb68 100644
--- a/src/libtracker-data/tracker-sparql-query.vala
+++ b/src/libtracker-data/tracker-sparql-query.vala
@@ -918,7 +918,7 @@ public class Tracker.Sparql.Query : Object {
}
} catch (DateError e) {
if (!silent) {
- throw e;
+ throw new Sparql.Error.TYPE (e.message);
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]