LeagueOfPoro / EsportsCapsuleFarmer

Automatically watch all live matches on lolesports and farm Esports Capsules
https://www.youtube.com/c/LeagueOfPoro
Other
95 stars 23 forks source link

Suggestion: force close on error (also, 69th issue; nice) #69

Closed JonasTD closed 1 year ago

JonasTD commented 1 year ago

When the program runs into an error instead of spamming the console over and over again; let it close and create an error.txt file with the error reason.

I noticed that the program uses a lot of resources when it runs into an error and this could help prevent that.

Additionally it could read the contents of the error.txt file on next startup and display it in the dialog window.

EDIT: spelling

a-Datana commented 1 year ago

Personally Force restart on error would sound alot nicer

JonasTD commented 1 year ago

Personally Force restart on error would sound alot nicer

perhaps as an option to toggle but I feel this could result in an endless loop.

LeagueOfPoro commented 1 year ago

I tried to do this in a different project and it was a pain. The browser would often not close at all, hogging resources.