diff --git a/ch_backup/clickhouse/client.py b/ch_backup/clickhouse/client.py index 1ff865e9..7de1c042 100644 --- a/ch_backup/clickhouse/client.py +++ b/ch_backup/clickhouse/client.py @@ -37,7 +37,7 @@ def settings(self): """ return self._session.params - @retry(requests.exceptions.ConnectionError) + @retry((requests.exceptions.ConnectionError, ClickhouseError)) def query( self, query: str,