Skip to content

Commit ef5f746

Browse files
committed
- Fix BaseBackoffException constructor
Signed-off-by: Sergey Chvalyuk <[email protected]>
1 parent 53780b5 commit ef5f746

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

airbyte-cdk/python/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
# Changelog
22

3+
## 0.1.51
4+
Fix BaseBackoffException constructor
5+
36
## 0.1.50
47
Improve logging for Error handling during send process.
8+
59
## 0.1.49
610
Add support for streams with explicit state attribute.
711

airbyte-cdk/python/airbyte_cdk/sources/streams/http/exceptions.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
class BaseBackoffException(requests.exceptions.HTTPError):
1212
def __init__(self, request: requests.PreparedRequest, response: requests.Response):
1313
error_message = f"Request URL: {request.url}, Response Code: {response.status_code}, Response Text: {response.text}"
14-
super().__init__(error_message)
14+
super().__init__(error_message, request=request, response=response)
1515

1616

1717
class RequestBodyException(Exception):

airbyte-cdk/python/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
setup(
1717
name="airbyte-cdk",
18-
version="0.1.50",
18+
version="0.1.51",
1919
description="A framework for writing Airbyte Connectors.",
2020
long_description=README,
2121
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)