From 55b6025f80770c738f764ef0ade50e96f2f44286 Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Wed, 4 Jan 2017 18:15:49 +1100 Subject: [PATCH] Log the storage TorrentImpl type --- torrent.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/torrent.go b/torrent.go index ac4d1c06..d51dbbe7 100644 --- a/torrent.go +++ b/torrent.go @@ -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 } -- 2.48.1