reader.go | 2 +- diff --git a/reader.go b/reader.go index 637c93548c1cd22c9ea588443f5db5c11cf1bbce..571ce4f2de620f56fe28ae0fdeb0b444af9b869e 100644 --- a/reader.go +++ b/reader.go @@ -136,7 +136,7 @@ n, err = dataReadAt(r.t.torrent.data, b1, pos) if n != 0 { return } - log.Printf("error reading from torrent storage: %s", err) + log.Printf("%s: error reading from torrent storage pos=%d: %s", r.t, pos, err) r.t.torrent.updatePieceCompletion(pi) r.t.torrent.updatePiecePriority(pi) }