mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
🎨 数据同步加入系统时间校验 https://github.com/siyuan-note/siyuan/issues/7669
This commit is contained in:
parent
71eea62578
commit
2dfb5b38e9
8 changed files with 19 additions and 6 deletions
|
|
@ -505,6 +505,8 @@ func formatErrorMsg(err error) string {
|
|||
msg = Conf.Language(189)
|
||||
} else if errors.Is(err, dejavu.ErrRepoFatalErr) {
|
||||
msg = Conf.Language(23)
|
||||
} else if errors.Is(err, cloud.ErrSystemTimeIncorrect) {
|
||||
msg = Conf.Language(195)
|
||||
} else {
|
||||
msgLowerCase := strings.ToLower(msg)
|
||||
if strings.Contains(msgLowerCase, "permission denied") || strings.Contains(msg, "access is denied") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue