This commit is contained in:
Liang Ding 2022-07-06 15:46:48 +08:00
parent 500b0b852a
commit 6e5278db66
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
6 changed files with 14 additions and 5 deletions

View file

@ -238,6 +238,10 @@ func UploadCloudSnapshot(tag, id string) (err error) {
defer util.PushClearProgress()
uploadFileCount, uploadChunkCount, uploadBytes, err := repo.UploadTagIndex(tag, id, cloudInfo, map[string]interface{}{CtxPushMsg: CtxPushMsgToStatusBarAndProgress})
if nil != err {
if errors.Is(err, dejavu.ErrCloudBackupCountExceeded) {
}
return
}
msg := fmt.Sprintf(Conf.Language(152), uploadFileCount, uploadChunkCount, byteCountSI(uploadBytes))