add: more debug logs

This commit is contained in:
Tobias Reisinger 2020-08-14 23:48:57 +02:00
parent c7d7d36ef8
commit 3d7245c16c
7 changed files with 10 additions and 3 deletions
src/models

View file

@ -17,6 +17,7 @@
static int
db_update_insert(relay_t *relay, sqlite3_stmt *stmt)
{
LOGGER_DEBUG("saving relay '%s' into database (id: %d)\n", relay->name, relay->id);
int rc;
sqlite3_bind_int(stmt, 1, relay->id);