fixed a regression
Merge pull request #3 from NinjaSudo/network-error-regression

fixed a regression with network error