Skip to content

Commit

Permalink
fix(azure_ad): print request URL on error (datahub-project#10677)
Browse files Browse the repository at this point in the history
  • Loading branch information
darnaut committed Jun 11, 2024
1 parent 8a90577 commit e123c25
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,7 @@ def _get_azure_ad_data(self, kind: str) -> Iterable[List]:
yield json_data["value"]
else:
error_str = (
f"Request URL: {url}. "
f"Response status code: {str(response.status_code)}. "
f"Response content: {str(response.content)}"
)
Expand Down

0 comments on commit e123c25

Please sign in to comment.