add: more debug logging

This commit is contained in:
Tobias Reisinger 2020-08-20 23:31:01 +02:00
parent d4ba7177d1
commit a37bdc4870
7 changed files with 13 additions and 1 deletions

View file

@ -32,6 +32,8 @@ controller_load(MDB_env *mdb_env)
controller_t *new_controller;
LOGGER_DEBUG("loading controller\n");
if((err = mdb_txn_begin(mdb_env, NULL, MDB_RDONLY, &mdb_txn)) != 0)
{
LOGGER_ERR("mdb_txn_begin error %s\n", mdb_strerror(err));