mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-22 20:56:42 +00:00
Proper error message
This commit is contained in:
parent
c203724132
commit
cb18316315
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue