diff --git a/internal/bootstrap/aria2.go b/internal/bootstrap/aria2.go index e1f10b1e9eb..72de697925f 100644 --- a/internal/bootstrap/aria2.go +++ b/internal/bootstrap/aria2.go @@ -8,6 +8,8 @@ import ( func InitAria2() { go func() { _, err := aria2.InitClient(2) - utils.Log.Errorf("failed to init aria2 client: %+v", err) + if err != nil { + utils.Log.Errorf("failed to init aria2 client: %+v", err) + } }() }