aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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