🎨 Add provider info at the end of message in all sync error notifications

This commit is contained in:
Liang Ding 2023-04-06 15:00:03 +08:00
parent 86cbf95d5b
commit e954f7ab94
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
4 changed files with 26 additions and 17 deletions

View file

@ -288,7 +288,7 @@ func exportData(exportFolder string) (zipPath string, err error) {
data := filepath.Join(util.WorkspaceDir, "data")
if err = filelock.RoboCopy(data, exportFolder); nil != err {
logging.LogErrorf("copy data dir from [%s] to [%s] failed: %s", data, baseFolderName, err)
err = errors.New(fmt.Sprintf(Conf.Language(14), formatErrorMsg(err)))
err = errors.New(fmt.Sprintf(Conf.Language(14), err.Error()))
return
}