]> git.mxchange.org Git - quix0rs-apt-p2p.git/commitdiff
Better error logging for store_value token errors.
authorCameron Dale <camrdale@gmail.com>
Fri, 9 May 2008 02:34:31 +0000 (19:34 -0700)
committerCameron Dale <camrdale@gmail.com>
Fri, 9 May 2008 02:34:31 +0000 (19:34 -0700)
apt_p2p_Khashmir/krpc.py

index b151a5527f15b6f210f14e83b565a790cfe750b7..7560470a0a2ad36d0f3746819a47b22b7f4129ce 100644 (file)
@@ -379,6 +379,8 @@ class KRPC:
                     log.msg('Got a Krpc error while running: krpc_%s' % msg[REQ])
                     if e[0] != KRPC_ERROR_INVALID_TOKEN:
                         log.err(e)
+                    else:
+                        log.msg('Node sent us an invalid token, not storing')
                     self.stats.errorAction(msg[REQ])
                     olen = self._sendResponse(msg[REQ], addr, msg[TID], ERR,
                                               [e[0], e[1]])