diff options
author | Marvin W <git@larma.de> | 2019-06-11 14:47:35 +0200 |
---|---|---|
committer | Marvin W <git@larma.de> | 2019-07-09 15:25:41 +0200 |
commit | 1654ee60d6bede0ba77afc02c4c825c686e13361 (patch) | |
tree | 8a4d2753550717c7f8762617b883d31ce838d2ed /qlite/src/update_builder.vala | |
parent | e3d994db1a25ce03ff0621876bf25319dfcbb4ad (diff) | |
download | dino-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.vala | 2 |
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()); } } |