From 22e23e2b47a516d7709b2f686b0e37b014d89516 Mon Sep 17 00:00:00 2001 From: trickysky Date: Tue, 28 Mar 2023 12:02:49 +0800 Subject: [PATCH] fix: receive terminate signal not raise Exception --- snakebite/client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/snakebite/client.py b/snakebite/client.py index 8e25d06..d206de0 100644 --- a/snakebite/client.py +++ b/snakebite/client.py @@ -1170,6 +1170,7 @@ def _read_file(self, path, node, tail_only, check_crc, tail_length=1024): if not location.id.storageID in failed_nodes: failed_nodes.append(location.id.storageID) successful_read = False + break else: raise ConnectionFailureException( u"Failure to connect to data node at ({}:{})".format(