Skip to content

Commit 341bb75

Browse files
committed
MaxRetryDurationError
Signed-off-by: Sai Shree Pradhan <saishree.pradhan@databricks.com>
1 parent 4c219da commit 341bb75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/databricks/sql/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ def read(self) -> Optional[OAuthToken]:
308308
self._open_session_resp = self.thrift_backend.open_session(
309309
session_configuration, catalog, schema
310310
)
311-
except (RequestError, MaxRetryError) as e:
311+
except (RequestError, MaxRetryError, MaxRetryDurationError) as e:
312312
raise
313313
except Exception as e:
314314
raise ConnectionError(

0 commit comments

Comments
 (0)