From 518d5174e630185540c5b99ee8a03c6231dc3c72 Mon Sep 17 00:00:00 2001 From: Simon Frei Date: Tue, 1 Feb 2022 20:20:55 +0100 Subject: [PATCH] lib/model: Print device when a block request fails (#8159) --- lib/model/folder_sendrecv.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/model/folder_sendrecv.go b/lib/model/folder_sendrecv.go index 763f7efe7..757e4504d 100644 --- a/lib/model/folder_sendrecv.go +++ b/lib/model/folder_sendrecv.go @@ -1554,7 +1554,7 @@ loop: buf, lastError = f.model.requestGlobal(f.ctx, selected.ID, f.folderID, state.file.Name, blockNo, state.block.Offset, int(state.block.Size), state.block.Hash, state.block.WeakHash, selected.FromTemporary) activity.done(selected) if lastError != nil { - l.Debugln("request:", f.folderID, state.file.Name, state.block.Offset, state.block.Size, "returned error:", lastError) + l.Debugln("request:", f.folderID, state.file.Name, state.block.Offset, state.block.Size, selected.ID.Short(), "returned error:", lastError) continue }