refactor: handle storage errors
Module traft::storage
doesn't panic anymore. Instead, it gracefully
returns errors. All unwraps are moved to the calling functions.
Also, the code is supplemented by tests, and debug logs are removed.
Module traft::storage
doesn't panic anymore. Instead, it gracefully
returns errors. All unwraps are moved to the calling functions.
Also, the code is supplemented by tests, and debug logs are removed.