Skip to content

Commit

Permalink
improve_error_msg (#41)
Browse files Browse the repository at this point in the history
* improve_error_msg

* 🎨 Format Python code with yapf (#42)

Co-authored-by: Chizkiyahu <[email protected]>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Chizkiyahu <[email protected]>
  • Loading branch information
3 people authored Aug 25, 2024
1 parent e8c780c commit b302990
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion clean_ghcr.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ def del_req(path):
if res.ok:
print(f"Deleted {path}")
else:
print(res.text)
print(
f"Error when trying to delete URL: {get_url(path)} MSG: {res.text}"
)
return res


Expand Down

0 comments on commit b302990

Please sign in to comment.