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

Merge pull request #1861 from shigma/patch-4

feat: change polling log level to debug
This commit is contained in:
Mrs4s 2023-01-17 20:25:22 +08:00 committed by GitHub
commit 4497053fb9
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() {