✏️ 优化 updater log

This commit is contained in:
fumiama
2021-12-14 13:17:46 +08:00
parent fcf62a31e1
commit 4485d3d5a9
2 changed files with 7 additions and 6 deletions

View File

@@ -30,9 +30,9 @@ func GetLazyData(path string, isReturnDataBytes, isDataMustEqual bool) ([]byte,
var filemd5 *[16]byte
var ms string
logrus.Infoln("[file]检查懒加载文件:", path)
u := dataurl + path
lzmu.Lock()
logrus.Infoln("[file]检查懒加载文件:", path)
err := registry.ConnectIn(time.Second * 4)
if err != nil {
logrus.Errorln("[file]无法连接到md5验证服务器请自行确保下载文件的正确性:", err)