2
0
mirror of synced 2025-02-24 06:38:14 +00:00

Log the storage TorrentImpl type

This commit is contained in:
Matt Joiner 2017-01-04 18:15:49 +11:00
parent 5fe36bbb35
commit 55b6025f80

View File

@ -637,7 +637,7 @@ func (t *Torrent) hashPiece(piece int) (ret metainfo.Hash) {
return
}
if err != io.ErrUnexpectedEOF && !os.IsNotExist(err) {
log.Printf("unexpected error hashing piece with %T: %s", t.storage, err)
log.Printf("unexpected error hashing piece with %T: %s", t.storage.TorrentImpl, err)
}
return
}