Skip to content

Commit

Permalink
removed messageBox error if updater cannot connect to the internet
Browse files Browse the repository at this point in the history
  • Loading branch information
Pyenb committed Mar 14, 2024
1 parent ff084e0 commit 8892ef4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ def get_online_version_and_url():
break

return online_version, download_url
except requests.exceptions.RequestException as e:
logging.error(f"Couldn't connect to the internet: {e}")
terminate()
except Exception as e:
logging.error(f"Failed to get online version and url: {e}")
messagebox.showerror("Error", f"Failed to get online version and url: {e}")
Expand Down Expand Up @@ -194,6 +197,6 @@ def main():


if __name__ == "__main__":
VERSION = 1.3
VERSION = 1.4
own_update_manager()
main()

0 comments on commit 8892ef4

Please sign in to comment.