mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-02 20:15:24 +02:00
parent
60682dba75
commit
75c535fb2e
1 changed files with 8 additions and 1 deletions
|
@ -38,4 +38,11 @@ def get_latest_version() -> str:
|
|||
_LAST_RESET = now
|
||||
get_latest_github_release.cache_clear()
|
||||
|
||||
return get_latest_github_release()
|
||||
try:
|
||||
return get_latest_github_release()
|
||||
except requests.RequestException:
|
||||
return "error fetching version"
|
||||
except KeyError:
|
||||
return "error parsing response"
|
||||
except Exception:
|
||||
return "unknown error"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue