LittleBigRefresh / Refresher

A utility for patching LittleBigPlanet games to custom servers
GNU General Public License v3.0
9 stars 3 forks source link

Handle errors a *little* more gracefully #43

Closed Beyley closed 5 months ago

Beyley commented 5 months ago

In PS3 patching we often would just crash for no reason, probably due to poor input validation of the IP in most cases, so now we catch more of that early before the exception bubbles up.

We also add an explicit timeout to FTP connections, before we would just lock up forever on my machine, which is a poor user experience.

This also adds a global exception handler, which throws up an error message to users telling them to report this.