Skip to content

Commit

Permalink
1.0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-001 committed Nov 28, 2024
1 parent 1a46ca4 commit 2562502
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions backup_warden/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ def check_for_update():
url = f"https://pypi.org/pypi/{__package_name__}/json"
try:
response = requests.get(url)
except requests.exceptions.RequestException as e:
logger.warning(
f"Failed to retrieve package information from PyPI! URL: {url} - Exception: {e}"
except Exception as e:
logger.error(
f"Failed to retrieve package information from PyPI to check for an update! URL: {url} - Exception: {e}"
)
return

Expand All @@ -106,8 +106,8 @@ def check_for_update():
)
else:
logger.error(
f"Failed to retrieve package information from PyPI! URL: {url} - Code: {response.status_code} - Response:"
f" {response.json()}"
f"Failed to retrieve package information from PyPI to check for an update! URL: {url} - "
f"Code: {response.status_code} - Response: {response}"
)


Expand Down Expand Up @@ -267,7 +267,7 @@ def setup_options():
parser.add_argument(
"--no-update-check",
action="store_true",
help="Do not check for newer versions on pypi",
help="Do not check for newer versions on PyPI",
)
parser.add_argument(
"--s3-only-prefixes",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "backup_warden"
version = "1.0.12"
version = "1.0.13"
description = "Streamline your backup management with ease and simplicity"
authors = ["Charles Thompson <01charles.t@gmail.com>"]
readme = "README.md"
Expand Down

0 comments on commit 2562502

Please sign in to comment.