Skip to content

Commit bb53688

Browse files
Update src/backend/history/cosmosdbservice.py
committing copilot suggestion Co-authored-by: Copilot <[email protected]>
1 parent 0c18573 commit bb53688

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/history/cosmosdbservice.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def __init__(
2727
if e.status_code == 401:
2828
raise ValueError("Unauthorized") from e
2929
else:
30-
print("Cosmos error")
30+
logging.error("Cosmos error: %s", e)
3131
raise ValueError("Something went wrong!") from e
3232

3333
try:

0 commit comments

Comments
 (0)