CFC-Servers / gm_express

An unlimited, out-of-band, bi-directional networking library for Garry's Mod
https://gmod.express
GNU General Public License v3.0
69 stars 5 forks source link

Handle nil response codes #25

Closed brandonsturgeon closed 1 year ago

brandonsturgeon commented 1 year ago

Not sure why it happens, but the addon shouldn't produce obscure errors because of it.

I also took this opportunity to extract the status code checker into its own helper function, update the existing tests, and add new tests for the new method.