mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-05 11:33:48 +08:00
fix typo
This commit is contained in:
parent
20fd8a9619
commit
71835a286b
@ -1057,7 +1057,7 @@ func (bot *CQBot) CQGetImage(file string) global.MSG {
|
|||||||
_ = body.Close()
|
_ = body.Close()
|
||||||
f.Close()
|
f.Close()
|
||||||
} else {
|
} else {
|
||||||
log.Warnf("下载图片 %v 时出现错误", msg["url"], err)
|
log.Warnf("下载图片 %v 时出现错误: %v", msg["url"], err)
|
||||||
return Failed(100, "DOWNLOAD_IMAGE_ERROR", err.Error())
|
return Failed(100, "DOWNLOAD_IMAGE_ERROR", err.Error())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user