Skip to content

Commit

Permalink
fix(updater): add specific handling for HTTPStatusError
Browse files Browse the repository at this point in the history
  • Loading branch information
AAClause committed Jun 28, 2024
1 parent c399cce commit 4f15a95
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions basilisk/updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,9 @@ def automatic_update_check(
log.info("No update available")
return None
return updater
except httpx.HTTPStatusError as e:
log.error(f"Error checking for updates: {e}")
return None
except Exception as e:
log.error(f"Error checking for updates: {e}")
if retries > 0 and not stop:
Expand Down

0 comments on commit 4f15a95

Please sign in to comment.