From cb18316315f640f4fca8534d01dcf967572a57cf Mon Sep 17 00:00:00 2001 From: "Daniel A. Nagy" Date: Thu, 12 Feb 2015 17:52:15 +0100 Subject: [PATCH] Proper error message --- bzz/protocol.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bzz/protocol.go b/bzz/protocol.go index a8fc20a0c4..ed3b14603f 100644 --- a/bzz/protocol.go +++ b/bzz/protocol.go @@ -210,7 +210,7 @@ func (self *bzzProtocol) handle() error { } dpaLogger.Warnf("Request message: %#v", req) if req.Key == nil || req.Timeout == nil { - return self.protoError(ErrDecode, "protocol handler: req.Key == nil") + return self.protoError(ErrDecode, "protocol handler: req.Key == nil || req.Timeout == nil") } req.peer = peer{bzzProtocol: self} self.netStore.addRetrieveRequest(&req)