Skip to content

Commit 82d480c

Browse files
authored
Update pyiceberg/catalog/rest/response.py
1 parent ae0a7d3 commit 82d480c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pyiceberg/catalog/rest/response.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ def _handle_non_200_response(exc: HTTPError, error_handler: dict[int, type[Excep
107107
except ValueError:
108108
phrase = exc.response.reason or f"HTTP {code}"
109109
response = f"{exception.__name__}: RestError: {phrase}"
110-
else:
111110
else:
112111
error = ErrorResponse.model_validate_json(exc.response.text).error
113112
response = f"{error.type}: {error.message}"

0 commit comments

Comments
 (0)