[GH-ISSUE #649] [FEATURE] Don't crash when not connected to the internet #414

Closed
opened 2026-02-25 20:35:42 +03:00 by kerem · 2 comments
Owner

Originally created by @DUOLabs333 on GitHub (Feb 8, 2022).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/649

Describe the feature you'd like to see added
The app should not crash if it can't connect to google.com/github.com

Additional context
Sometimes, as I restart whoogle often (testing new ideas), I don't have WiFi for 5 seconds, and if Whoogle can't connect to github.com, it crashes, forcing me to starting it again.

Originally created by @DUOLabs333 on GitHub (Feb 8, 2022). Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/649 <!-- DO NOT REQUEST UI/THEME/GUI/APPEARANCE IMPROVEMENTS HERE THESE SHOULD GO IN ISSUE #60 REQUESTING A NEW FEATURE SHOULD BE STRICTLY RELATED TO NEW FUNCTIONALITY --> **Describe the feature you'd like to see added** The app should not crash if it can't connect to google.com/github.com **Additional context** Sometimes, as I restart whoogle often (testing new ideas), I don't have WiFi for 5 seconds, and if Whoogle can't connect to github.com, it crashes, forcing me to starting it again.
kerem 2026-02-25 20:35:42 +03:00
Author
Owner

@DUOLabs333 commented on GitHub (Feb 10, 2022):

It happens here: update = bsoup(get(app.config['RELEASES_URL']).text, 'html.parser') in routes.py. I'm not sure what should happen on an error. Do show "Failed to retrieve info"?

<!-- gh-comment-id:1035624933 --> @DUOLabs333 commented on GitHub (Feb 10, 2022): It happens here: `update = bsoup(get(app.config['RELEASES_URL']).text, 'html.parser')` in `routes.py`. I'm not sure what should happen on an error. Do show "Failed to retrieve info"?
Author
Owner

@benbusby commented on GitHub (Feb 14, 2022):

Fixed as part of a larger refactor that was needed for the latest release/update check.

<!-- gh-comment-id:1039464326 --> @benbusby commented on GitHub (Feb 14, 2022): Fixed as part of a larger refactor that was needed for the latest release/update check.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whoogle-search#414
No description provided.