aboutsummaryrefslogtreecommitdiff
path: root/qlite/src/insert_builder.vala
diff options
context:
space:
mode:
Diffstat (limited to 'qlite/src/insert_builder.vala')
-rw-r--r--qlite/src/insert_builder.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/qlite/src/insert_builder.vala b/qlite/src/insert_builder.vala
index b66464a6..8b14b33f 100644
--- a/qlite/src/insert_builder.vala
+++ b/qlite/src/insert_builder.vala
@@ -74,7 +74,7 @@ public class InsertBuilder : StatementBuilder {
public int64 perform() {
if (prepare().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();
}