Closed lordi closed 6 years ago
Should we then just show an error message to the user and let them have to delete the .vault
dir manually or should we do this for them and/or warn the user and delete the .vault folder if the vault ID inside .vault/config
is invalid (due to the vault having been deleted on the server)
You are referring to the case where the vault ids do not match?
Sorry I think I misread this initially, ignore my comment.
Works now
Currently, it aborts with an exception because the folder is not empty.
If the vault ids match, we should just treat this the same way as if the user added the folder for syncing.