zeitgeist team mailing list archive
-
zeitgeist team
-
Mailing list archive
-
Message #04227
[Branch ~zeitgeist/zeitgeist/bluebird] Rev 288: Catch ExtensionStore error
------------------------------------------------------------
revno: 288
committer: Michal Hruby <michal.mhr@xxxxxxxxx>
branch nick: bb-fts
timestamp: Mon 2011-10-10 12:51:07 +0200
message:
Catch ExtensionStore error
modified:
src/extension-store.vala
--
lp:~zeitgeist/zeitgeist/bluebird
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird
Your team Zeitgeist Framework Team is subscribed to branch lp:~zeitgeist/zeitgeist/bluebird.
To unsubscribe from this branch go to https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird/+edit-subscription
=== modified file 'src/extension-store.vala'
--- src/extension-store.vala 2011-09-29 15:30:04 +0000
+++ src/extension-store.vala 2011-10-10 10:51:07 +0000
@@ -33,7 +33,14 @@
public ExtensionStore (Zeitgeist.Engine engine) {
database = engine.database;
db = database.database;
- prepare_queries ();
+ try
+ {
+ prepare_queries ();
+ }
+ catch (Error err)
+ {
+ warning ("%s", err.message);
+ }
}
private void prepare_queries () throws EngineError