Skip to content

Commit

Permalink
debug 503 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
carlcsaposs-canonical committed Apr 12, 2024
1 parent 6db4557 commit 2f82682
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/charms/opensearch/v0/opensearch_distro.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ def call(url: str) -> requests.Response:
raise OpenSearchHttpError(response_text=str(e))

if resp_status_code:
logger.exception(f"FOO {e.response.status_code}")
logger.exception(f"FOO {e.response.status_code}\n{e.response.json()}\n")
return e.response.status_code

raise OpenSearchHttpError(
Expand Down

0 comments on commit 2f82682

Please sign in to comment.