Skip to content

Commit 8892ef4

Browse files
author
Pyenb
committed
removed messageBox error if updater cannot connect to the internet
1 parent ff084e0 commit 8892ef4

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

updater.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,9 @@ def get_online_version_and_url():
133133
break
134134

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

195198

196199
if __name__ == "__main__":
197-
VERSION = 1.3
200+
VERSION = 1.4
198201
own_update_manager()
199202
main()

0 commit comments

Comments
 (0)