Skip to content

Commit ff6f9fc

Browse files
committed
chore: more logs
Signed-off-by: ThibaultFy <thibault.fouqueray@gmail.com>
1 parent 32af228 commit ff6f9fc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

backend/substrapp/clients/organization.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,12 @@ def get(
184184
) -> bytes:
185185
"""Get asset data."""
186186
content = _http_request(_Method.GET, channel, organization_id, url).content
187+
logger.info("Downloading content succeed")
188+
189+
logger.info("Starting computing hash")
187190
new_checksum = compute_hash(content, key=salt)
191+
logger.info("Computing hash succeed")
192+
188193
if new_checksum != checksum:
189194
raise IntegrityError(f"url {url}: checksum doesn't match {checksum} vs {new_checksum}")
190195
return content

0 commit comments

Comments
 (0)