aboutsummaryrefslogtreecommitdiff
path: root/qlite/src/upsert_builder.vala
diff options
context:
space:
mode:
Diffstat (limited to 'qlite/src/upsert_builder.vala')
-rw-r--r--qlite/src/upsert_builder.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/qlite/src/upsert_builder.vala b/qlite/src/upsert_builder.vala
index 54ba9924..6d29b288 100644
--- a/qlite/src/upsert_builder.vala
+++ b/qlite/src/upsert_builder.vala
@@ -100,7 +100,7 @@ public class UpsertBuilder : StatementBuilder {
public int64 perform() {
if (prepare_update().step() != DONE || prepare_insert().step() != DONE) {
- error(@"SQLite error: %d - %s", db.errcode(), db.errmsg());
+ critical(@"SQLite error: %d - %s", db.errcode(), db.errmsg());
}
return db.last_insert_rowid();
}