diff --git a/opensearchpy/connection/http_async.py b/opensearchpy/connection/http_async.py index d0490878..8ee20ccb 100644 --- a/opensearchpy/connection/http_async.py +++ b/opensearchpy/connection/http_async.py @@ -238,6 +238,7 @@ async def perform_request( # raise warnings if any from the 'Warnings' header. warning_headers = response.headers.getall("warning", ()) + print(warning_headers) self._raise_warnings(warning_headers) # raise errors based on http status codes, let the client handle those if needed