GlowieXYZ / GDCSST

Digital Combat Simulator Server Tracker written in Go
GNU General Public License v2.0
0 stars 2 forks source link

Have /servers/x.x.x.x:p give a proper output in case the server doesn't exist. #4

Closed GlowieXYZ closed 3 years ago

GlowieXYZ commented 3 years ago

See $SUBJECT, as it currently stands the output breaks and the application gives an error.

Check the output of this https://github.com/GlowieXYZ/GDCSST/blob/trunk/frontend.go#L141 or make https://github.com/GlowieXYZ/GDCSST/blob/trunk/helpers.go#L27 more error resistant.

GlowieXYZ commented 3 years ago

And done. Easier than anticipated! =)