Merge #8214: [qa] mininode: fail on send_message instead of silent return

facb6c0 [qa] mininode: fail on send_message instead of silent return (MarcoFalke)
This commit is contained in:
MarcoFalke 2016-06-17 15:41:32 +02:00
commit ed2cd59e25
No known key found for this signature in database
GPG Key ID: 2D7F2372E50FE137
1 changed files with 1 additions and 1 deletions

View File

@ -1315,7 +1315,7 @@ class NodeConn(asyncore.dispatcher):
def send_message(self, message, pushbuf=False):
if self.state != "connected" and not pushbuf:
return
raise IOError('Not connected, no pushbuf')
self.show_debug_msg("Send %s" % repr(message))
command = message.command
data = message.serialize()