aboutsummaryrefslogtreecommitdiffstats
path: root/autoBackup
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2025-12-03 21:38:50 +0000
committerjwansek <eddie.atten.ea29@gmail.com>2025-12-03 21:38:50 +0000
commitfc7e239d32fe662427f2ce78bbc47193734a14d3 (patch)
tree15f2705b9d53b689c7e3a1f4f23392715f9360e4 /autoBackup
parent9eff75419705ba5a621064da3e102496b51a5766 (diff)
downloadBetterZFSReplication-fc7e239d32fe662427f2ce78bbc47193734a14d3.tar.gz
BetterZFSReplication-fc7e239d32fe662427f2ce78bbc47193734a14d3.zip
Patched bug with exceptions
Diffstat (limited to 'autoBackup')
-rw-r--r--autoBackup/autoBackup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoBackup/autoBackup.py b/autoBackup/autoBackup.py
index cbb6392..6a8e7c8 100644
--- a/autoBackup/autoBackup.py
+++ b/autoBackup/autoBackup.py
@@ -250,7 +250,7 @@ def wait_for_slave(slave):
logging.info("Slave is ready: " + str(ready))
if not ready:
continue
- except requests.exceptions.ConnectionError:
+ except (requests.exceptions.ConnectionError, truenas_api_client.exc.ClientException):
logging.info("'%s' hasn't booted, waiting for %d more seconds" % (slave.host, int(os.environ["POLLING_RATE"])))
else:
break