mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-05-08 03:39:15 -05:00
🎨 Error notification pops up only once after auto sync fails https://github.com/siyuan-note/siyuan/issues/8096
This commit is contained in:
@@ -578,6 +578,9 @@ func isProviderOnline(byHand bool) (ret bool) {
|
||||
}
|
||||
|
||||
if ret = util.IsOnline(checkURL, skipTlsVerify); !ret {
|
||||
if !byHand {
|
||||
autoSyncErrCount++
|
||||
}
|
||||
if 1 > autoSyncErrCount || byHand {
|
||||
util.PushErrMsg(Conf.Language(76)+" (Provider: "+conf.ProviderToStr(Conf.Sync.Provider)+")", 5000)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user