-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto-recover from "got state, but no session" errors
The easiest way to reproduce the problem is to try and `init()` with an incorrect username/password. Initialization would make some progress (and prepare some state files in the DB directory), but would ultimately fail. With no session file stored, these state files cannot be made use of later on. We now have auto-recovery logic which detects this condition and purges the database state files, so that a new session can be created cleanly.
- Loading branch information
1 parent
afdc4fe
commit f339fc8
Showing
2 changed files
with
54 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters