1
0
mirror of https://github.com/armink/FlashDB.git synced 2025-01-29 04:32:53 +08:00

[kvdb] Add more error logs.

This commit is contained in:
armink 2023-11-19 11:27:23 +08:00
parent a2c442435c
commit 2dea1b2b88

View File

@ -403,12 +403,13 @@ static fdb_err_t tsl_append(fdb_tsdb_t db, fdb_blob_t blob, fdb_time_t *timestam
result = update_sec_status(db, &db->cur_sec, blob, cur_time);
if (result != FDB_NO_ERR) {
FDB_INFO("Error: update the sector status failed (%d)", result);
return result;
}
/* write the TSL node */
result = write_tsl(db, blob, cur_time);
if (result != FDB_NO_ERR) {
FDB_INFO("Error: write tsl failed (%d)", result);
return result;
}