mirror of https://github.com/Xhofe/alist
chore: change log if aria2 not ready
parent
b6d9018ebd
commit
539c47bd3b
|
@ -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.")
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue