🎨 logging

This commit is contained in:
Liang Ding 2022-06-24 00:05:19 +08:00
parent 1f0e62893b
commit 4313f29736
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -539,7 +539,7 @@ func getOssUploadToken(filename, cloudDirPath string, length int64) (ret string,
code := result["code"].(float64)
if 0 != code {
msg := result["msg"].(string)
util.LogErrorf("download cloud file failed: %s", msg)
util.LogErrorf("get file [%s] upload token failed: %s", filename, msg)
err = errors.New(fmt.Sprintf(Conf.Language(93), msg))
return
}