Fix for issue #89(Improve savestate error handling)#92
Fix for issue #89(Improve savestate error handling)#92XuefengHuang wants to merge 8 commits intoSeattleTestbed:masterfrom XuefengHuang:fix-#89
savestate error handling)#92Conversation
Add better error messages for two problems. One is using savestate before having loaded at least a pubkey, and work as that identity. Another is using savestate to a write-protected file.
There was a problem hiding this comment.
This won't work cross-platform (think Windows).
This unit test is to test error messages when using savestate before having loaded at least a pubkey, and work as that identity.
This unit test is to test error messages when using savestate to a write-protected file.
|
I have tested this pull request and this can be merged. Testing by running unit test: cib@cib-VirtualBox: Testing by manually entering command on seash:
Enabled modules: factoids, geoip, modules, uploaddir, variables !> savestate NO_KEYS_LOADED |
I fix
savestateerror message issue and create a unit test for this PR, this is test result: