1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-04 19:17:37 +08:00

feat: change polling log level to debug

This commit is contained in:
Shigma 2023-01-17 01:23:32 +08:00 committed by GitHub
parent 4a80441a5c
commit e050fd6885
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -254,7 +254,7 @@ func getTicket(u string) (str string) {
func fetchCaptcha(id string) string { func fetchCaptcha(id string) string {
g, err := download.Request{URL: "https://captcha.go-cqhttp.org/captcha/ticket?id=" + id}.JSON() g, err := download.Request{URL: "https://captcha.go-cqhttp.org/captcha/ticket?id=" + id}.JSON()
if err != nil { if err != nil {
log.Warnf("获取 Ticket 时出现错误: %v", err) log.Debugf("获取 Ticket 时出现错误: %v", err)
return "" return ""
} }
if g.Get("ticket").Exists() { if g.Get("ticket").Exists() {