Skip to content

Commit bed1919

Browse files
committed
cleanup
1 parent a35a5fe commit bed1919

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/internal/downloads/service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ func (d *Service) TestAndUpdateClient() error {
8282
func (d *Service) TestClient(client *sc.TorrentClient) (dc.DownloadClient, error) {
8383
newClient, err := dc.TestTorrentClient(client)
8484
if err != nil {
85-
return nil, fmt.Errorf("unable to connect torrent torrentClient: %v", err)
85+
return nil, fmt.Errorf("unable to connect torrent client: %w", err)
8686
}
8787
return newClient, nil
8888
}

0 commit comments

Comments
 (0)