aboutsummaryrefslogtreecommitdiff
path: root/qlite/src/database.vala
diff options
context:
space:
mode:
Diffstat (limited to 'qlite/src/database.vala')
-rw-r--r--qlite/src/database.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/qlite/src/database.vala b/qlite/src/database.vala
index 1e39d227..8b2f447d 100644
--- a/qlite/src/database.vala
+++ b/qlite/src/database.vala
@@ -139,7 +139,7 @@ public class Database {
ensure_init();
Sqlite.Statement statement;
if (db.prepare_v2(sql, sql.length, out statement) != OK) {
- error("SQLite error: %d - %s", db.errcode(), db.errmsg());
+ error("SQLite error: %d - %s: %s", db.errcode(), db.errmsg(), sql);
}
return statement;
}