torrent.go | 2 +- diff --git a/torrent.go b/torrent.go index 70c8d42046f340944761efeca1b3bdadd179df4b..5fd2bbff3df2ef6a365459333bc188814e777a13 100644 --- a/torrent.go +++ b/torrent.go @@ -745,7 +745,7 @@ missinggo.CopyExact(&ret, hash.Sum(nil)) return } if err != io.ErrUnexpectedEOF && !os.IsNotExist(err) { - t.logger.Printf("unexpected error hashing piece with %T: %s", t.storage.TorrentImpl, err) + t.logger.Printf("unexpected error hashing piece %d through %T: %s", piece, t.storage.TorrentImpl, err) } return }