🎨 Add logging

This commit is contained in:
Daniel 2023-12-09 22:17:17 +08:00
parent aaf15c77e0
commit ba547e0353
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -947,6 +947,7 @@ func upgradeUserGuide() {
continue
}
logging.LogInfof("upgrading user guide box [%s]", boxID)
unindex(boxID)
if err = filelock.Remove(boxDirPath); nil != err {
@ -958,6 +959,7 @@ func upgradeUserGuide() {
}
index(boxID)
logging.LogInfof("upgraded user guide box [%s]", boxID)
}
}