aboutsummaryrefslogtreecommitdiff
path: root/qlite/src/update_builder.vala
diff options
context:
space:
mode:
authorMarvin W <git@larma.de>2019-06-11 14:47:35 +0200
committerMarvin W <git@larma.de>2019-07-09 15:25:41 +0200
commit1654ee60d6bede0ba77afc02c4c825c686e13361 (patch)
tree8a4d2753550717c7f8762617b883d31ce838d2ed /qlite/src/update_builder.vala
parente3d994db1a25ce03ff0621876bf25319dfcbb4ad (diff)
downloaddino-1654ee60d6bede0ba77afc02c4c825c686e13361.tar.gz
dino-1654ee60d6bede0ba77afc02c4c825c686e13361.zip
qlite: use critical() instead of error() for failed transactions
Diffstat (limited to 'qlite/src/update_builder.vala')
-rw-r--r--qlite/src/update_builder.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/qlite/src/update_builder.vala b/qlite/src/update_builder.vala
index f675a85c..0bf83aee 100644
--- a/qlite/src/update_builder.vala
+++ b/qlite/src/update_builder.vala
@@ -94,7 +94,7 @@ public class UpdateBuilder : StatementBuilder {
public void perform() {
if (fields.length == 0) return;
if (prepare().step() != DONE) {
- error("SQLite error: %d - %s", db.errcode(), db.errmsg());
+ critical("SQLite error: %d - %s", db.errcode(), db.errmsg());
}
}