Skip to content

Commit

Permalink
chore(dev): bump to alpha.4 for more logs
Browse files Browse the repository at this point in the history
Signed-off-by: ThibaultFy <thibault.fouqueray@gmail.com>
  • Loading branch information
ThibaultFy committed Jul 9, 2024
1 parent 9dcc731 commit 9bdec30
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions backend/substrapp/clients/organization.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def _http_request(

response = None
try:
logger.ingo("Sending http request", headers=headers, timeout=_HTTP_TIMEOUT, verify=_HTTP_VERIFY)
logger.info("Sending http request", headers=headers, timeout=_HTTP_TIMEOUT, verify=_HTTP_VERIFY)
response = _HTTP_METHOD_TO_FUNC[method](
url,
headers=_add_mandatory_headers(headers, channel),
Expand All @@ -134,7 +134,7 @@ def _http_request(
timeout=_HTTP_TIMEOUT,
**_http_request_kwargs(data, stream),
)
logger.ingo("Fecthing http response success", response=response)
logger.info("Fecthing http response success", response=response)
except (requests.exceptions.ConnectionError, requests.exceptions.Timeout) as exc:
raise OrganizationError(f"Failed to connect to {organization_id}") from exc

Expand Down Expand Up @@ -186,7 +186,7 @@ def get(
) -> bytes:
"""Get asset data."""
content = _http_request(_Method.GET, channel, organization_id, url).content
logger.info("Downloading content succeed")
logger.info("Http request succeed")

logger.info("Starting computing hash")
new_checksum = compute_hash(content, key=salt)
Expand Down

0 comments on commit 9bdec30

Please sign in to comment.