mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-19 08:00:13 +01:00
🎨 网络连通状态日志
This commit is contained in:
parent
4bb39d90fe
commit
34483709ab
1 changed files with 1 additions and 1 deletions
|
|
@ -42,7 +42,7 @@ func IsOnline() (ret bool) {
|
||||||
|
|
||||||
ret = nil == err && nil != resp && nil != resp.Response
|
ret = nil == err && nil != resp && nil != resp.Response
|
||||||
if !ret {
|
if !ret {
|
||||||
logging.LogWarnf("network is offline")
|
logging.LogWarnf("network is offline: %v", err)
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue