🎨 Improve data sync to prevent an old snapshot to overwrite the new one https://github.com/siyuan-note/siyuan/issues/9949

Abandon snapshot if file does not exist when creating snapshot https://github.com/siyuan-note/siyuan/issues/9948
This commit is contained in:
Daniel 2023-12-21 23:07:51 +08:00
parent 30c902a01c
commit e02976c421
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
4 changed files with 14 additions and 14 deletions

View file

@ -545,7 +545,7 @@ func formatRepoErrorMsg(err error) string {
msg = Conf.Language(188)
} else if errors.Is(err, dejavu.ErrCloudLocked) {
msg = Conf.Language(189)
} else if errors.Is(err, dejavu.ErrRepoFatalErr) {
} else if errors.Is(err, dejavu.ErrRepoFatal) {
msg = Conf.Language(23)
} else if errors.Is(err, cloud.ErrSystemTimeIncorrect) {
msg = Conf.Language(195)