fix(azure_ad): print request URL on error (#10677)

This commit is contained in:
Davi Arnaut 2024-06-11 10:19:04 -07:00 committed by GitHub
parent 8a905774f7
commit e123c25d82
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -505,6 +505,7 @@ class AzureADSource(StatefulIngestionSourceBase):
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)}"
)