Skip to content

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
pankajastro committed Oct 30, 2023
1 parent dc9d448 commit 896b357
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fivetran_provider_async/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,9 @@ def _do_api_call(
if not _retryable_error(e):
# In this case, the user probably made a mistake.
# Don't retry.
assert e.response is not None
raise AirflowException(
f"Response: {e.response.content}, " f"Status Code: {e.response.status_code}"
f"Response: {e.response.content.decode()}, " f"Status Code: {e.response.status_code}"
)

self._log_request_error(attempt_num, str(e))
Expand Down

0 comments on commit 896b357

Please sign in to comment.