chore: change log if aria2 not ready

pull/1831/head
Noah Hsu 2022-09-23 20:04:47 +08:00
parent b6d9018ebd
commit 539c47bd3b
1 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,8 @@ func InitAria2() {
go func() { go func() {
_, err := aria2.InitClient(2) _, err := aria2.InitClient(2)
if err != nil { if err != nil {
utils.Log.Errorf("failed to init aria2 client: %+v", err) //utils.Log.Errorf("failed to init aria2 client: %+v", err)
utils.Log.Infof("Aria2 not ready.")
} }
}() }()
} }