Commit 9583595b authored by Petr Špaček's avatar Petr Špaček Committed by Grigorii Demidov

kresd: improve error reporting if cache cannot be opened

For some weird reason kresd crashed on assert(false) if it cannot open
cache even though it handles this case properly without the assert.
parent 9f7f25ea
Pipeline #36832 passed with stages
in 8 minutes and 9 seconds
......@@ -73,7 +73,6 @@ static int lmdb_error(int error)
return kr_error(ENOSPC);
default:
kr_log_error("[cache] LMDB error: %s\n", mdb_strerror(error));
assert(false);
return kr_error(error);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment