mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-05 03:23:49 +08:00
feat: change polling log level to debug
This commit is contained in:
parent
4a80441a5c
commit
e050fd6885
@ -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() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user