summaryrefslogtreecommitdiff
path: root/src/db/Db.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/db/Db.vala')
-rw-r--r--src/db/Db.vala8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/db/Db.vala b/src/db/Db.vala
index 7f76f2d..e537ee0 100644
--- a/src/db/Db.vala
+++ b/src/db/Db.vala
@@ -56,8 +56,12 @@ public VerifyResult verify_database(out string app_version, out int schema_versi
return result;
}
- PhotoTable.clean_comments();
- VideoTable.clean_comments();
+ try {
+ PhotoTable.clean_comments();
+ VideoTable.clean_comments();
+ } catch (DatabaseError err) {
+ debug("Ignoring database error while clean ing comments: %s", err.message);
+ }
return VerifyResult.OK;