mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
🎨 Add provider info at the end of message in all sync error notifications
This commit is contained in:
parent
86cbf95d5b
commit
e954f7ab94
4 changed files with 26 additions and 17 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue