From b302990b6c629f3b272a31f3c3a268e1f7d0ffae Mon Sep 17 00:00:00 2001 From: Chizkiyahu Raful <37312901+Chizkiyahu@users.noreply.github.com> Date: Sun, 25 Aug 2024 11:53:05 +0300 Subject: [PATCH] improve_error_msg (#41) * improve_error_msg * :art: Format Python code with yapf (#42) Co-authored-by: Chizkiyahu --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Chizkiyahu --- clean_ghcr.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/clean_ghcr.py b/clean_ghcr.py index 70c75b8..da522d6 100644 --- a/clean_ghcr.py +++ b/clean_ghcr.py @@ -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