mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-18 07:30:12 +01:00
🎨 Add logging
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
bdf7d172da
commit
20a896515e
1 changed files with 2 additions and 0 deletions
|
|
@ -1289,6 +1289,7 @@ func bootSyncRepo() (err error) {
|
||||||
waitGroup.Add(1)
|
waitGroup.Add(1)
|
||||||
go func() {
|
go func() {
|
||||||
defer waitGroup.Done()
|
defer waitGroup.Done()
|
||||||
|
defer logging.Recover()
|
||||||
|
|
||||||
start := time.Now()
|
start := time.Now()
|
||||||
_, _, indexErr := indexRepoBeforeCloudSync(repo)
|
_, _, indexErr := indexRepoBeforeCloudSync(repo)
|
||||||
|
|
@ -1314,6 +1315,7 @@ func bootSyncRepo() (err error) {
|
||||||
waitGroup.Add(1)
|
waitGroup.Add(1)
|
||||||
go func() {
|
go func() {
|
||||||
defer waitGroup.Done()
|
defer waitGroup.Done()
|
||||||
|
defer logging.Recover()
|
||||||
|
|
||||||
start := time.Now()
|
start := time.Now()
|
||||||
syncContext := map[string]interface{}{eventbus.CtxPushMsg: eventbus.CtxPushMsgToStatusBar}
|
syncContext := map[string]interface{}{eventbus.CtxPushMsg: eventbus.CtxPushMsgToStatusBar}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue