Skip to content

Commit

Permalink
remove misleading log message
Browse files Browse the repository at this point in the history
  • Loading branch information
majestrate committed Jul 29, 2017
1 parent a44b65b commit c149360
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/xd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,7 @@ func Run() {
for sw.Running() {
nt := st.PollNewTorrents()
for _, t := range nt {
name := t.MetaInfo().TorrentName()
e := sw.AddTorrent(t, true)
if e == nil {
log.Infof("added %s", name)
} else {
log.Errorf("Failed to add %s: %s", name, e)
}
sw.AddTorrent(t, true)
}
time.Sleep(time.Second)
}
Expand Down

0 comments on commit c149360

Please sign in to comment.