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/delete_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/delete_builder.vala')
-rw-r--r-- | qlite/src/delete_builder.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qlite/src/delete_builder.vala b/qlite/src/delete_builder.vala index e7e3b784..45e09dc7 100644 --- a/qlite/src/delete_builder.vala +++ b/qlite/src/delete_builder.vala @@ -53,7 +53,7 @@ public class DeleteBuilder : StatementBuilder { public void perform() { if (prepare().step() != DONE) { - error(@"SQLite error: %d - %s", db.errcode(), db.errmsg()); + critical(@"SQLite error: %d - %s", db.errcode(), db.errmsg()); } } |